summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/saa7110.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-11-08 22:53:27 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-12-07 19:58:47 +0300
commitc3093bdc6bc37f979b6966cb48225657405d84ec (patch)
tree7693e9299e59763ed5ff2efea34d31dc2668dd8d /drivers/media/i2c/saa7110.c
parent6cb7d1b3ff83e98e852db9739892c4643a31804b (diff)
downloadlinux-c3093bdc6bc37f979b6966cb48225657405d84ec.tar.xz
media: s5k4ecgx: Switch to GPIO descriptors
The driver has an option to pass in GPIO numbers from platform data but this is not used in the kernel so delete this and the whole platform data mechanism. Get GPIO descriptors using the standard API and simplify the code, gpiolib will handle any inversions. Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Andrzej Hajda <andrzej.hajda@intel.com> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Alim Akhtar <alim.akhtar@samsung.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Reviewed-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/saa7110.c')
0 files changed, 0 insertions, 0 deletions