|
@@ -162,7 +162,6 @@ int tps65912_device_init(struct tps65912 *tps65912)
|
|
|
err:
|
|
err:
|
|
|
kfree(init_data);
|
|
kfree(init_data);
|
|
|
mfd_remove_devices(tps65912->dev);
|
|
mfd_remove_devices(tps65912->dev);
|
|
|
- kfree(tps65912);
|
|
|
|
|
return ret;
|
|
return ret;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -170,7 +169,6 @@ void tps65912_device_exit(struct tps65912 *tps65912)
|
|
|
{
|
|
{
|
|
|
mfd_remove_devices(tps65912->dev);
|
|
mfd_remove_devices(tps65912->dev);
|
|
|
tps65912_irq_exit(tps65912);
|
|
tps65912_irq_exit(tps65912);
|
|
|
- kfree(tps65912);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
MODULE_AUTHOR("Margarita Olaya <magi@slimlogic.co.uk>");
|
|
MODULE_AUTHOR("Margarita Olaya <magi@slimlogic.co.uk>");
|