]> Git Repo - linux.git/commitdiff
drivers/video/backlight/hx8357.c: remove redundant of_match_ptr
authorSachin Kamat <[email protected]>
Tue, 12 Nov 2013 23:09:47 +0000 (15:09 -0800)
committerLinus Torvalds <[email protected]>
Wed, 13 Nov 2013 03:09:22 +0000 (12:09 +0900)
'hx8357_dt_ids' is always compiled in.  Hence of_match_ptr is not needed.

Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/hx8357.c

index 0d252e720d13b1a61e620e72ba30d2c90a171838..985e854e244b108cc2dce384dc91dbb8f5f8ea73 100644 (file)
@@ -673,7 +673,7 @@ static struct spi_driver hx8357_driver = {
        .probe  = hx8357_probe,
        .driver = {
                .name = "hx8357",
-               .of_match_table = of_match_ptr(hx8357_dt_ids),
+               .of_match_table = hx8357_dt_ids,
        },
 };
 
This page took 0.061149 seconds and 4 git commands to generate.