aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSrikant Ritolia <[email protected]>2016-12-08 14:42:37 +0530
committerSebastian Reichel <[email protected]>2017-01-04 21:59:56 +0100
commita50b0dbbaf49521cc47a0bcfd20a6f658258541c (patch)
tree710a71a43f61933d60132209004199dd909d8b8b /tools/perf/scripts/python/bin
parent50111d3f886ac95cb76aefb6ceb0d1b6e78eefc0 (diff)
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions