diff options
| author | Srikant Ritolia <s.ritolia@samsung.com> | 2016-12-08 14:42:37 +0530 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 21:59:56 +0100 |
| commit | a50b0dbbaf49521cc47a0bcfd20a6f658258541c (patch) | |
| tree | 710a71a43f61933d60132209004199dd909d8b8b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | power: supply: axp20x_usb_power: add 100mA max current limit for AXP223 (diff) | |
| download | linux-a50b0dbbaf49521cc47a0bcfd20a6f658258541c.tar.gz linux-a50b0dbbaf49521cc47a0bcfd20a6f658258541c.zip | |
power: supply: max8997_charger: Using device managed API and remove OOM print
Use managed resource function devm_power_supply_register instead of
power_supply_register to simplify the error path by allowing unregistering
to happen automatically on error and remove.
Removing max8997_battery_remove function also as it is now redundant.
Also removing out of memory printk message after kzalloc as there is
already enough information on failure.
Signed-off-by: Srikant Ritolia <s.ritolia@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
