staging: media: atomisp: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Aug 2020 08:14:45 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Aug 2020 10:21:46 +0000 (12:21 +0200)
commit9289cdf399922a1bd801a8cd946a79581c00a380
tree7d36c271a783112ac83cfdd9498f9fe4b5635ef1
parentd8eb176d97d3dcb810e19fb067f21bf6b115251a
staging: media: atomisp: Convert to GPIO descriptors

Convert the atomisp LM3554 driver to use GPIO descriptors
fully. It was already retrieveing the GPIO lines as descriptors
but for some reason converting them back into global GPIO
numbers. There is no reason to do this, just deal with the
descriptors as-is.

Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200827081445.186882-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
drivers/staging/media/atomisp/include/media/lm3554.h