mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00: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:
parent
8d7c0b527f
commit
d82341b08b
1 changed files with 0 additions and 1 deletions
|
@ -204,7 +204,6 @@ static int mcu_remove(struct i2c_client *client)
|
|||
ret = mcu_gpiochip_remove(mcu);
|
||||
if (ret)
|
||||
return ret;
|
||||
i2c_set_clientdata(client, NULL);
|
||||
kfree(mcu);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue