Commit d82341b0 authored by Wolfram Sang's avatar Wolfram Sang Committed by Scott Wood
Browse files

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: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 8d7c0b52
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}