]> git.baikalelectronics.ru Git - kernel.git/commit
dma: timb_dma: remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 6 May 2013 03:54:48 +0000 (12:54 +0900)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:35 +0000 (11:40 +0530)
commit833caf95be11707eea1fb72366ff34f77e23f0da
treec175a13349918113e5b4b3dc41f449e1ac0d2268
parentdf95fcabd5b5405f275de58faf6aeff063dd6594
dma: timb_dma: remove unnecessary platform_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure, since commit c3e213df083439e7397e789fd95ded71e7b3add3
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/timb_dma.c