gpio: tegra: Don't open code of_device_get_match_data()
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 25 Apr 2016 10:38:31 +0000 (16:08 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Apr 2016 08:58:21 +0000 (10:58 +0200)
commit171b92c830f48bd546e2d68d6f511b3d87e0544e
tree47cb5e1a0fc16174220c2d52a863b83ba8147f56
parent3484f1be2dbf520ad150a0be11f04464b930a4e6
gpio: tegra: Don't open code of_device_get_match_data()

Use of_device_get_match_data() for getting matched data
instead of implementing this locally.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c