aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2021-01-11 00:45:08 +0100
committerSebastian Reichel <[email protected]>2021-01-13 22:25:07 +0100
commitcb6d6918c56ffd98e88164d5471f692d33dabf2b (patch)
treed96b20e367affaf5b864361980767d4e8dec3c9a /include/linux/compiler_attributes.h
parenta3b4388ea19b055ec482114e227c58d0184edfa5 (diff)
power: supply: wm97xx_battery: Convert to GPIO descriptor
This converts the WM97xx driver to use a GPIO descriptor instead of passing a GPIO number thru platform data. Like everything else in the driver, use a simple local variable for the descriptor, it can only ever appear in one instance anyway so it should not hurt. After converting the driver I noticed that none of the boardfiles actually define a meaningful GPIO line for this, but hey, it is converted. Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Cc: [email protected] Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Daniel Mack <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions