Re: [PATCH 00/10] [media] remove unnecessary pci_set_drvdata()

2013-09-30 Thread Sachin Kamat
Hi Hans, On 30 September 2013 17:52, Hans Verkuil wrote: > On 09/23/2013 03:43 AM, Jingoo Han wrote: >> Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d >> (device-core: Ensure drvdata = NULL when no driver is bound), >> the driver core clears the driver data to NULL after device_release >>

Re: [PATCH 00/10] [media] remove unnecessary pci_set_drvdata()

2013-09-30 Thread Hans Verkuil
On 09/23/2013 03:43 AM, Jingoo Han wrote: > Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound), > 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

[PATCH 00/10] [media] remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound), 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. --- drivers/media/c