gpio: ks8695: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 30 Nov 2018 16:22:46 +0000 (11:22 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Dec 2018 10:10:14 +0000 (11:10 +0100)
commit9904f0325ec3d57b823b4c9cd569eed9fc1ef1f7
treeee3adfbe523cb53375ac4ff6de21623665f3aa48
parent25fbc9e8d3673d372ad6ae44a8d4f850879f50ad
gpio: ks8695: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ks8695.c