diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-05-25 09:55:42 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-10 09:53:50 +0200 |
| commit | 07d4abbe766aafb4c75c788db172d2d69f9d7612 (patch) | |
| tree | 4d01082bfd94583e6551f20488a6424e7d8999eb /include | |
| parent | fe50cdaebf12cd32ff9a44d92bfd6fbc2300dbd4 (diff) | |
| download | linux-07d4abbe766aafb4c75c788db172d2d69f9d7612.tar.gz linux-07d4abbe766aafb4c75c788db172d2d69f9d7612.zip | |
media: camif-core: Drop GPIO handling
The driver and platform data refers to the legacy GPIO API,
doesn't really use it, and also calls some GPIO-related functions
passed as platform data.
This platform data is not used anywhere in the kernel.
I'm not outright deleting the driver, just deleting the bogus
GPIO handling. If outoftree developers want to fix up the
driver the GPIOs should be defined in some kind of firmware
node and be obtained using the gpiod_get*() APIs directly
in the driver, but I don't even know what these GPIOs are
since they are hidden in platform data that is not in the
mainline kernel, so what can I do.
Signed-off-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/drv-intf/s3c_camif.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/drv-intf/s3c_camif.h b/include/media/drv-intf/s3c_camif.h index f746851a5ce6..00d83620ea5f 100644 --- a/include/media/drv-intf/s3c_camif.h +++ b/include/media/drv-intf/s3c_camif.h @@ -31,8 +31,6 @@ struct s3c_camif_sensor_info { struct s3c_camif_plat_data { struct s3c_camif_sensor_info sensor; - int (*gpio_get)(void); - int (*gpio_put)(void); }; #endif /* MEDIA_S3C_CAMIF_ */ |
