X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fleds%2Fleds-pca955x.c;h=66aa3e8e786f545c4db0e6bd4318a173a792fc1e;hb=938a73b959cf77aadc41bded3bf416b618aa20b3;hp=8ff50f234190a38129342d743a14c8c7c201ad6c;hpb=1f73897861b8ef0be64ff4b801f8d6f830f683b5;p=mv-sheeva.git diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c index 8ff50f23419..66aa3e8e786 100644 --- a/drivers/leds/leds-pca955x.c +++ b/drivers/leds/leds-pca955x.c @@ -342,7 +342,6 @@ exit: } kfree(pca955x); - i2c_set_clientdata(client, NULL); return err; } @@ -358,7 +357,6 @@ static int __devexit pca955x_remove(struct i2c_client *client) } kfree(pca955x); - i2c_set_clientdata(client, NULL); return 0; }