linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] backlight: hx8357: Remove redundant of_match_ptr
@ 2013-10-25 12:11 Sachin Kamat
  2013-10-27 14:21 ` Maxime Ripard
  2013-10-27 23:08 ` Jingoo Han
  0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-10-25 12:11 UTC (permalink / raw)
  To: linux-fbdev

'hx8357_dt_ids' is always compiled in. Hence of_match_ptr is
not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 drivers/video/backlight/hx8357.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c
index c7af8c4..5a4dd33 100644
--- a/drivers/video/backlight/hx8357.c
+++ b/drivers/video/backlight/hx8357.c
@@ -685,7 +685,7 @@ static struct spi_driver hx8357_driver = {
 	.remove = hx8357_remove,
 	.driver = {
 		.name = "hx8357",
-		.of_match_table = of_match_ptr(hx8357_dt_ids),
+		.of_match_table = hx8357_dt_ids,
 	},
 };
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-27 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 12:11 [PATCH 1/1] backlight: hx8357: Remove redundant of_match_ptr Sachin Kamat
2013-10-27 14:21 ` Maxime Ripard
2013-10-27 23:08 ` Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).