dma: mmp_pdma: add missing platform_set_drvdata() in mmp_pdma_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 25 Nov 2013 07:15:14 +0000 (15:15 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 28 Nov 2013 08:09:11 +0000 (13:39 +0530)
commit086b0af19ae43d1ac5d77b5d423aa58374ad2709
tree808089d6104e830d080495d7924d53e1a52aa837
parent415612c1caab50f60797f06ad016ef602f0503cb
dma: mmp_pdma: add missing platform_set_drvdata() in mmp_pdma_probe()

Add missing platform_set_drvdata() in mmp_pdma_probe(), otherwise
calling platform_get_drvdata() in mmp_pdma_remove() returns NULL.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c