]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
wm831x_backup: Fix wrong kfree call for devdata->backup.name
authorAxel Lin <axel.lin@ingics.com>
Sat, 4 May 2013 05:57:55 +0000 (13:57 +0800)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 10 May 2013 18:56:22 +0000 (11:56 -0700)
commitc909fc8573af3cff9184551e79cf37784b5ddc24
tree76322082daf7f585a1554c418950f2eac53b9abe
parenta2d0dbb4b55681874c5f288538ae55ae69baeaff
wm831x_backup: Fix wrong kfree call for devdata->backup.name

devdata->backup.name points to devdata->name, the memory for devdata->name
is part of struct wm831x_backup. Thus remove kfree call for
devdata->backup.name.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/wm831x_backup.c