gpio: use dev_get_platdata()
authorNizam Haider <nizamhaider786@gmail.com>
Mon, 23 Nov 2015 15:23:18 +0000 (20:53 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Nov 2015 15:41:26 +0000 (16:41 +0100)
commitab128afce4ea8a496fc42553215f6635a14f05c3
treee9711799a79e2dbb7dce914692326cdf639eed70
parentfb50cdfeeda868ae2bfe7ec2e0afebff53eca2d5
gpio: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ath79.c
drivers/gpio/gpio-davinci.c
drivers/gpio/gpio-f7188x.c
drivers/gpio/gpio-octeon.c
drivers/gpio/gpio-sch311x.c