From: Sachin Kamat Date: Tue, 12 Nov 2013 23:09:47 +0000 (-0800) Subject: drivers/video/backlight/hx8357.c: remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c962f7b95c98d2b42019cc9cb074886d177ee3a3;p=deliverable%2Flinux.git 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 Acked-by: Maxime Ripard Acked-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index 0d252e720d13..985e854e244b 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, }, };