diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 15:10:23 +0530 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-06 23:32:45 -0800 |
commit | fea7b5697ba74102f905ecf318a34f2429071a0a (patch) | |
tree | 43a0992e5a4c2203c2f77db609a7e1b9105a32ca /drivers/mtd/nand/lpc32xx_slc.c | |
parent | 6dcd592022678e44c6fc705ca6f287b4e7ee338f (diff) | |
download | linux-fea7b5697ba74102f905ecf318a34f2429071a0a.tar.bz2 |
mtd: nand: lpc32xx_slc: Remove redundant of_match_ptr
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/lpc32xx_slc.c')
-rw-r--r-- | drivers/mtd/nand/lpc32xx_slc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 6d5f8c515436..23e6974ccd20 100644 --- a/drivers/mtd/nand/lpc32xx_slc.c +++ b/drivers/mtd/nand/lpc32xx_slc.c @@ -1015,7 +1015,7 @@ static struct platform_driver lpc32xx_nand_driver = { .driver = { .name = LPC32XX_MODNAME, .owner = THIS_MODULE, - .of_match_table = of_match_ptr(lpc32xx_nand_match), + .of_match_table = lpc32xx_nand_match, }, }; |