aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2022-06-21 23:17:20 +0800
committerSebastian Reichel <[email protected]>2022-07-17 01:05:54 +0200
commitc9d8468158adca6dffd2ff5b1befd35f75568b10 (patch)
treef77830d0e8878a8c8667aa9a2cdbff0f3ba48b75 /lib/mpi/mpi-cmp.c
parent38d45444e257f7e3f6fbd242ba42371563984093 (diff)
power: supply: olpc_battery: Hold the reference returned by of_find_compatible_node
In olpc_battery_probe(), we should hold the reference returned by of_find_compatible_node() and use it to call of_node_put() for refcount balance. Signed-off-by: Liang He <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions