]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: onenand/generic: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 3 May 2013 11:37:41 +0000 (17:07 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:50:00 +0000 (20:50 +0100)
commit7f1e0419f9a8737327d7ccb61ae40f9cc22b8e49
treeab7ec1981fd7bf4d5adc32ab54f8efe33c3552c0
parent33777e6676ca60652bd48c7867641fb779106909
mtd: onenand/generic: Remove redundant platform_set_drvdata()

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/generic.c