summaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2015-07-01 11:40:53 +0200
committerSebastian Reichel <sre@kernel.org>2015-07-24 16:52:24 +0200
commit377b641ac84c573bcea06aec47f7ad1ba4047e1c (patch)
treed6170cd8ced052df6cad22faeb62d9ffb8d01f51 /sound/ppc
parent325b50aa5d1c7dae57d1e44defdbacd1e2bcabde (diff)
downloadop-kernel-dev-377b641ac84c573bcea06aec47f7ad1ba4047e1c.zip
op-kernel-dev-377b641ac84c573bcea06aec47f7ad1ba4047e1c.tar.gz
power/ltc2941-battery-gauge.c: Use the devicetree node name as supply name
Make it possible to set the name of the supply from the devicetree. Like other power supply drivers just use the node name. This makes the code smaller as well, as it doesn't need to allocate memory to hold the name and allocate a unique ID. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud