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

* Re: [PATCH 1/1] backlight: hx8357: Remove redundant of_match_ptr
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2013-10-27 14:21 UTC (permalink / raw)
  To: linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

Hi Sachin,

On Fri, Oct 25, 2013 at 05:29:33PM +0530, Sachin Kamat wrote:
> '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>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 1/1] backlight: hx8357: Remove redundant of_match_ptr
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jingoo Han @ 2013-10-27 23:08 UTC (permalink / raw)
  To: linux-fbdev

On Sunday, October 27, 2013 11:22 PM, Maxime Ripard wrote:
> On Fri, Oct 25, 2013 at 05:29:33PM +0530, Sachin Kamat wrote:
> > '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>
> 
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Acked-by: Jingoo Han <jg1.han@samsung.com>

Best regards,
Jingoo Han


^ permalink raw reply	[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).