commit | b0280d05804ae86514f5abca427e360e33fed1bb | [log] [tgz] |
---|---|---|
author | Lubomir Rintel <lkundrak@v3.sk> | Thu Apr 18 16:46:52 2019 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Apr 18 21:53:21 2019 +0200 |
tree | f915bb1498e3d06cf02b61217c83f7d02ce4cdc7 | |
parent | 33554d818a9562f47ba0de3edb35346ccf7c8c1b [diff] |
power: supply: olpc_battery: Use devm_power_supply_register() This simplifies the error handling. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>