linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next RESEND] backlight: led_bl: Remove redundant of_match_ptr()
@ 2023-08-18  1:23 Ruan Jinjie
  2023-08-21 11:17 ` (subset) " Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Ruan Jinjie @ 2023-08-18  1:23 UTC (permalink / raw)
  To: dri-devel, linux-fbdev, linux-kernel, Lee Jones, Daniel Thompson,
	Jingoo Han, Helge Deller
  Cc: ruanjinjie

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
---
 drivers/video/backlight/led_bl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/led_bl.c b/drivers/video/backlight/led_bl.c
index 3259292fda76..032f8bddf872 100644
--- a/drivers/video/backlight/led_bl.c
+++ b/drivers/video/backlight/led_bl.c
@@ -243,7 +243,7 @@ MODULE_DEVICE_TABLE(of, led_bl_of_match);
 static struct platform_driver led_bl_driver = {
 	.driver		= {
 		.name		= "led-backlight",
-		.of_match_table	= of_match_ptr(led_bl_of_match),
+		.of_match_table	= led_bl_of_match,
 	},
 	.probe		= led_bl_probe,
 	.remove_new	= led_bl_remove,
-- 
2.34.1


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

* Re: (subset) [PATCH -next RESEND] backlight: led_bl: Remove redundant of_match_ptr()
  2023-08-18  1:23 [PATCH -next RESEND] backlight: led_bl: Remove redundant of_match_ptr() Ruan Jinjie
@ 2023-08-21 11:17 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-08-21 11:17 UTC (permalink / raw)
  To: dri-devel, linux-fbdev, linux-kernel, Lee Jones, Daniel Thompson,
	Jingoo Han, Helge Deller, Ruan Jinjie

On Fri, 18 Aug 2023 09:23:08 +0800, Ruan Jinjie wrote:
> The driver depends on CONFIG_OF, it is not necessary to use
> of_match_ptr() here.
> 
> 

Applied, thanks!

[1/1] backlight: led_bl: Remove redundant of_match_ptr()
      commit: a4464092f2c514a7f0788906d340f0bab59fdd73

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2023-08-21 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18  1:23 [PATCH -next RESEND] backlight: led_bl: Remove redundant of_match_ptr() Ruan Jinjie
2023-08-21 11:17 ` (subset) " Lee Jones

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).