mtd: au1550nd: add missing platform_set_drvdata()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 06:18:29 +0000 (14:18 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:24 +0000 (11:22 -0800)
commita1d7994e639c33926405448c50831d0b3e28dddc
treed93fef443c89dc9b62ce254d0f858a3e58c0e242
parent8bfd4f7f18050535892b74e6ec3aa2ca598c6a64
mtd: au1550nd: add missing platform_set_drvdata()

Add missing platform_set_drvdata() in au1550nd_probe(), otherwise
calling platform_get_drvdata() in remove returns NULL.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/au1550nd.c