diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2019-06-12 15:00:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 23:36:11 +0300 |
commit | 0a0e265515db7619d0da9331d74245d02c741f07 (patch) | |
tree | cbf882258b98ffacb3b68d1c843e3e5bdcf0f7bb /drivers/bcma/driver_gpio.c | |
parent | e0c76a7d3428824c4f360982efcfa085d8d7fb85 (diff) | |
download | linux-0a0e265515db7619d0da9331d74245d02c741f07.tar.xz |
media: atmel: atmel-isc: split driver into driver base and isc
This splits the Atmel ISC driver into a common base: atmel-isc-base.c
and the driver probe/dt part , atmel-sama5d2-isc.c
This is needed to keep a common ground for the sensor controller which will
be reused.
The atmel-isc will use the common symbols inside the atmel-isc-base
Future driver will also use the same symbols and redefine different aspects,
for a different version of the ISC.
This is done to avoid complete code duplication by creating a totally
different driver for the new variant of the ISC.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: folded 'atmel: atmel-sama5d2-isc: fixed checkpatch warnings' into this patch]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/bcma/driver_gpio.c')
0 files changed, 0 insertions, 0 deletions