media: atomisp: Use temporary variable for device in gmin_subdev_add()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jun 2020 10:57:36 +0000 (12:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 05:23:54 +0000 (07:23 +0200)
commitfecd8833cc480559a50bf2532254c2e4d3a07240
tree39570891936b97b0ff394449e9736fa5f2baadbb
parentc30f4cb2d4c785b8bd0ea1710af7a542aeca1bbe
media: atomisp: Use temporary variable for device in gmin_subdev_add()

Use temporary variable for device in gmin_subdev_add().

While here, drop unused temporary variable for device in other places.

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