base-files: define yes/no as valid boolean options
[openwrt/openwrt.git] / target / linux / mvebu / patches-3.10 / 0128-mtd-nand-pxa3xx_nand-Remove-redundant-of_match_ptr.patch
1 From 38a6d3f3330da6586695746a0a85a96143171211 Mon Sep 17 00:00:00 2001
2 From: Sachin Kamat <sachin.kamat@linaro.org>
3 Date: Mon, 30 Sep 2013 15:10:24 +0530
4 Subject: [PATCH 128/203] mtd: nand: pxa3xx_nand: Remove redundant of_match_ptr
5
6 The data structure of_match_ptr() protects is always compiled in.
7 Hence of_match_ptr() is not needed.
8
9 Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
10 Signed-off-by: Brian Norris <computersforpeace@gmail.com>
11 ---
12 drivers/mtd/nand/pxa3xx_nand.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/mtd/nand/pxa3xx_nand.c
16 +++ b/drivers/mtd/nand/pxa3xx_nand.c
17 @@ -1412,7 +1412,7 @@ static int pxa3xx_nand_resume(struct pla
18 static struct platform_driver pxa3xx_nand_driver = {
19 .driver = {
20 .name = "pxa3xx-nand",
21 - .of_match_table = of_match_ptr(pxa3xx_nand_dt_ids),
22 + .of_match_table = pxa3xx_nand_dt_ids,
23 },
24 .probe = pxa3xx_nand_probe,
25 .remove = pxa3xx_nand_remove,