summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-11-12 15:09:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 12:09:22 +0900
commitc962f7b95c98d2b42019cc9cb074886d177ee3a3 (patch)
tree9dc80640a8c6bb7434099d6178a6d73b4d9770a6 /drivers/video/backlight
parent9b3521ee8f35faa73459cda9a8b9b6e0a08a8d30 (diff)
drivers/video/backlight/hx8357.c: remove redundant of_match_ptr
'hx8357_dt_ids' is always compiled in. Hence of_match_ptr is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/hx8357.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c
index 0d252e720d1..985e854e244 100644
--- a/drivers/video/backlight/hx8357.c
+++ b/drivers/video/backlight/hx8357.c
@@ -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,
},
};