gpio: tegra: Convert to use DEFINE_SHOW_ATTRIBUTE macro
authorAxel Lin <axel.lin@ingics.com>
Mon, 12 Feb 2018 14:01:57 +0000 (22:01 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 14:25:40 +0000 (15:25 +0100)
commit2773eb2f98011b398fcf8f6cc12c4981a00ed452
treefa50ace757eac650b5cf9a29f2d8d58612aff1e2
parent4b7edaef795c1bc848cab3b3b6a5b42f2d64db29
gpio: tegra: Convert to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c