dma: sh: remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 26 Aug 2013 00:32:05 +0000 (09:32 +0900)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Aug 2013 08:56:29 +0000 (14:26 +0530)
commiteb262a5419708319a3174d4ddf2777f472779182
tree35861017dedc9c6ae9a68eed3e532a29b3359616
parent1e69653d40f1a280dbfef48b0c62473ac415dd57
dma: sh: remove unnecessary platform_set_drvdata()

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.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdmac.c
drivers/dma/sh/sudmac.c