gpio: palmas: Use of_device_get_match_data()
authorThierry Reding <treding@nvidia.com>
Mon, 30 Apr 2018 07:38:13 +0000 (09:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 May 2018 12:35:24 +0000 (14:35 +0200)
commitfd46d5c35066920b6c85d0379b5e2b6498d46bc1
tree30666d6dbaf6f891cee4146058f57e2d4038a845
parent1f2d357b9ebef5c7ca7e7ee07234c08ac057c386
gpio: palmas: Use of_device_get_match_data()

Use of_device_get_match_data() instead of open-coding it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-palmas.c