summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/sys_frv.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-03-18 10:00:51 +0100
committerSebastian Reichel <sre@kernel.org>2016-04-10 17:19:52 +0200
commitb9223da41794030a5dfd5106c34ed1b98255e2ae (patch)
treeb803ecf366077fb0854542e4f9f99ecca065bd39 /arch/frv/kernel/sys_frv.c
parentpower/max8925: freeing wrong variable (diff)
downloadlinux-b9223da41794030a5dfd5106c34ed1b98255e2ae.tar.xz
linux-b9223da41794030a5dfd5106c34ed1b98255e2ae.zip
power: ipaq-micro-battery: freeing the wrong variable
We accidentally free "micro_ac_power" which is an error pointer and it leads to an oops. We intended to free "micro_batt_power". Fixes: a2c1d531854c ('power_supply: ipaq_micro_battery: Check return values in probe') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'arch/frv/kernel/sys_frv.c')
0 files changed, 0 insertions, 0 deletions