]> Pileus Git - ~andy/linux/blobdiff - drivers/power/wm831x_backup.c
Merge branch 'linus' into patchwork
[~andy/linux] / drivers / power / wm831x_backup.c
index 58cbb009b74f144564b069bf9344e801a5f02743..56fb509f4be00834f964fa2636b35c97eebf6849 100644 (file)
@@ -207,7 +207,6 @@ static int wm831x_backup_remove(struct platform_device *pdev)
        struct wm831x_backup *devdata = platform_get_drvdata(pdev);
 
        power_supply_unregister(&devdata->backup);
-       kfree(devdata->backup.name);
 
        return 0;
 }