power: supply: axp288_fuel_gauge: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Thu, 22 Nov 2018 14:25:51 +0000 (09:25 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 20 Jan 2019 21:21:45 +0000 (22:21 +0100)
commit0367e23425afdffe1f5b94e56a214d62b35beb05
treedee94f2386d13733f168e69c2e083eb3c6ae9bee
parentf5d782d46aa5d4dd369e6560ce5227136b58926f
power: supply: axp288_fuel_gauge: 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: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_fuel_gauge.c