]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Documentation/driver-api: Update pcim_enable_device()
authorPhilipp Stanner <phasta@kernel.org>
Mon, 19 May 2025 11:29:56 +0000 (13:29 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 19 May 2025 12:35:09 +0000 (12:35 +0000)
commitb4fb90fb930193bf391b0fd8e9e4fa63b347e3ed
tree8a7ae7537f8aae2852020e1714d277eacb40ef08
parent51f6aec99cb0493b6c288ba55bed2ef9fb6242ca
Documentation/driver-api: Update pcim_enable_device()

pcim_enable_device() is not related anymore to switching the mode of
operation of any functions. It merely sets up a devres callback for
automatically disabling the PCI device on driver detach.

Adjust the function's documentation.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250519112959.25487-4-phasta@kernel.org
Documentation/driver-api/driver-model/devres.rst