On Fri, May 3, 2013 at 2:30 AM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > Hi Sachin, Thanks for these patches. But Jingoo Han did the exactly same patches and sent out several hours before you. So I'm going to applied his version, please keep hacking. -:)) -Bryan > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > --- > drivers/leds/leds-atmel-pwm.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c > index 8a39c5b..90518f8 100644 > --- a/drivers/leds/leds-atmel-pwm.c > +++ b/drivers/leds/leds-atmel-pwm.c > @@ -129,7 +129,6 @@ static int pwmled_remove(struct platform_device *pdev) > pwm_channel_free(&led->pwmc); > } > > - platform_set_drvdata(pdev, NULL); > return 0; > } > > -- > 1.7.9.5 > -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html