media: atomisp: Refactor PMIC detection to a separate function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jun 2020 10:57:35 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 05:23:24 +0000 (07:23 +0200)
commitc30f4cb2d4c785b8bd0ea1710af7a542aeca1bbe
treea5bfe3ae72e2f424fc1c6d749ff02eb605c306c9
parente4fb745c9575b0d02548ebd024c95b75fd038c03
media: atomisp: Refactor PMIC detection to a separate function

Refactor PMIC detection to a separate function. In the future
we may move this code somewhere else where it's more suitable.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c