]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: atomisp: Put PMIC device after getting its I²C address
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Mar 2024 20:27:02 +0000 (20:27 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:23:12 +0000 (10:23 +0100)
commitc780a2c6ae629e1d380753b4df8cbf0bc72f375e
treee526648bc45479526c2edceaf7b4b3bf915ff4b1
parent5b43a667775e600fb8a65667e252c31aa034f76d
media: atomisp: Put PMIC device after getting its I²C address

We don't use the PMIC I²C client device after getting its address.
Drop the reference to it. We do not expect device to disappear
as it should be taken care by the OpRegion drivers.

Link: https://lore.kernel.org/r/20240326202813.1425431-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c