Skip to content
Commit c909fc85 authored by Axel Lin's avatar Axel Lin Committed by Anton Vorontsov
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent a2d0dbb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment