On 03-05-2013 05:57, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Andrew Lunn Acked-by: Eduardo Valentin > --- > drivers/thermal/dove_thermal.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c > index 4b15a5f..900479e 100644 > --- a/drivers/thermal/dove_thermal.c > +++ b/drivers/thermal/dove_thermal.c > @@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev) > platform_get_drvdata(pdev); > > thermal_zone_device_unregister(dove_thermal); > - platform_set_drvdata(pdev, NULL); > > return 0; > } >