]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: intel_pmc_mux: Put ACPI device using acpi_dev_put()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Mon, 7 Jun 2021 20:50:07 +0000 (23:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 08:56:14 +0000 (10:56 +0200)
commit33dfe848a92a1980cbd9040ab4993d64b4e2e672
tree13d13d5f03ae6e3a5adf36c6dc08ba7c89a28de5
parent111b5b7d0e71bd1eac0eb76637495e2a6b2c7ca5
usb: typec: intel_pmc_mux: Put ACPI device using acpi_dev_put()

For ACPI devices we have a symmetric API to put them, so use it in the driver.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210607205007.71458-3-andy.shevchenko@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c