Re: [PATCH V2] mfd: timberdale: remove unnecessary pci_set_drvdata()

2013-09-13 Thread Lee Jones
On Fri, 13 Sep 2013, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. It also removes unnecessary label such > as 'err_request'. > > Signed-off-by: Jingoo Han

[PATCH V2] mfd: timberdale: remove unnecessary pci_set_drvdata()

2013-09-12 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. It also removes unnecessary label such as 'err_request'. Signed-off-by: Jingoo Han --- Changes since v1: - Removed unnecessary label su