extcon: axp288: Replace open coded acpi_dev_put()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jan 2023 20:29:19 +0000 (22:29 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 May 2023 14:30:15 +0000 (23:30 +0900)
commit07c8eb325f29a4a967f939b9fe6cce09f35e25e9
treedd71a927d08bed5c55fcc2ea17371eab35ce4bbd
parent3adbaa30d973093a4f37927baf9596cca51b593d
extcon: axp288: Replace open coded acpi_dev_put()

Instead of calling put_device(&adev->dev) where adev is a pointer
to an ACPI device, use specific call, i.e. acpi_dev_put().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c