]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52b098e89a107c58a33e950304e59985117be628
treed93fef443c89dc9b62ce254d0f858a3e58c0e242
parent8b298b15b1f6843b046bcd33f3bbe4ce2d454921
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