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)
commit184fa76b87ca36c7e98f152df709bf6f492d8e29
tree13d13d5f03ae6e3a5adf36c6dc08ba7c89a28de5
parent843fabdd7623271330af07f1b7fbd7fabe33c8de
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