]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: davinci_nand: Use of_match_ptr()
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:07:01 +0000 (15:37 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:19:56 +0000 (13:19 +0100)
commitc4f8cde8343ace075fb3dae2d5bc796cdfaffbfd
treef4787f9ba1ff797aca41aacb3dcb945822b6a17a
parent19d69b86007e6ede34c08f0b5635d1aaba6a46b7
mtd: davinci_nand: Use of_match_ptr()

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/davinci_nand.c