commit | 6391c63e61a76dfe4020432368cc2a7aa1273b41 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sun Jun 14 08:36:23 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sat Jul 18 07:06:44 2020 +0200 |
tree | d44b5e8c6ce2f25f92d8d99a474fe2403df690be | |
parent | c2942c4363ceb8bbce12c2db8f42d8bbbf5bb0ef [diff] |
media: atomisp: reorganize the code under gmin_subdev_add() The gmin_subdev_add() currently doesn't use ACPI device power management. In order to prepare for adding support for it, let's shift some things, placing the PM-related stuff at the end of the probing logic. Let's also store the current gs on a temporary var, in order to simplify the source code. Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>