]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: don't pass struct device_driver as parameter
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Jun 2020 12:19:14 +0000 (14:19 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 05:18:58 +0000 (07:18 +0200)
commit5d0c53980c2f85bda6776757aeb5a54e061fba55
treef69986f77c47ae2d3e18d7a63116a46017bfee96
parent7a85dd5c4b2c68550481993cb6354ea31ecb59ff
media: atomisp: don't pass struct device_driver as parameter

There is no need to pass a pointer to struct device_driver
when we have an access to struct device already.

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_drvfs.c
drivers/staging/media/atomisp/pci/atomisp_drvfs.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c