mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drivers/leds/leds-lm3530.c: 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 <[email protected]> Cc: Richard Purdie <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
cba4c2ac08
commit
3edc5804b7
1 changed files with 0 additions and 1 deletions
|
|
@ -421,7 +421,6 @@ err_class_register:
|
|||
err_reg_init:
|
||||
regulator_put(drvdata->regulator);
|
||||
err_regulator_get:
|
||||
i2c_set_clientdata(client, NULL);
|
||||
kfree(drvdata);
|
||||
err_out:
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue