aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-altera.c
diff options
context:
space:
mode:
authorRobert Hancock <[email protected]>2019-06-07 17:04:16 +0000
committerLinus Walleij <[email protected]>2019-06-10 14:22:27 +0000
commit1ebd06871b57a632b6624fbd4b680dc7dd8a1283 (patch)
tree5754f1a4ce8b3854728804c272d50fff24ffb504 /drivers/gpio/gpio-altera.c
parentfmc: Decouple from Linux GPIO subsystem (diff)
downloadkernel-1ebd06871b57a632b6624fbd4b680dc7dd8a1283.tar.gz
kernel-1ebd06871b57a632b6624fbd4b680dc7dd8a1283.zip
gpio: xilinx: convert from OF GPIO to standard devm APIs
This driver was using the OF GPIO helper API, but barely used any of its features and it cost more code than it saved. Also, the OF GPIO code is now deprecated. Convert it to use a more standard setup and use devm APIs for initialization to avoid the need for a remove function. Our rationale for this change is that we are using the Xilinx GPIO with resources injected using the MFD core rather than on the device tree itself. Using platform rather than OF-specific resources allows this to work for free. Signed-off-by: Robert Hancock <[email protected]> Acked-by: Michal Simek <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
0 files changed, 0 insertions, 0 deletions