You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
arch/powerpc/platforms/83xx: Remove obsolete cleanup for clientdata
A few new i2c-drivers came into the kernel which clear the clientdata-pointer on exit or error. This is obsolete meanwhile, the core will do it. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
@@ -204,7 +204,6 @@ static int mcu_remove(struct i2c_client *client)
|
|||||||
ret = mcu_gpiochip_remove(mcu);
|
ret = mcu_gpiochip_remove(mcu);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
i2c_set_clientdata(client, NULL);
|
|
||||||
kfree(mcu);
|
kfree(mcu);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user