All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs
@ 2018-03-05 17:09 Hans Ulli Kroll
  2018-03-10 21:13 ` Jacek Anaszewski
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Ulli Kroll @ 2018-03-05 17:09 UTC (permalink / raw)
  To: Alan Mizrahi, Richard Purdie, Jacek Anaszewski, Pavel Machek
  Cc: linux-leds, linux-kernel, Hans Ulli Kroll

APU has compared to APU2 no DMI_BOARD_NAME.
Use DMI_PRODUCT_NAME instead.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
---
 drivers/leds/leds-apu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c
index 74820aab9497..5bbf5c31413e 100644
--- a/drivers/leds/leds-apu.c
+++ b/drivers/leds/leds-apu.c
@@ -206,7 +206,7 @@ static int __init apu_led_probe(struct platform_device *pdev)
 
 	apu_led->pdev = pdev;
 
-	if (dmi_match(DMI_BOARD_NAME, "APU")) {
+	if (dmi_match(DMI_PRODUCT_NAME, "APU")) {
 		apu_led->profile = apu1_led_profile;
 		apu_led->platform = APU1_LED_PLATFORM;
 		apu_led->num_led_instances = ARRAY_SIZE(apu1_led_profile);
-- 
2.16.2

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

end of thread, other threads:[~2018-03-20 19:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 17:09 [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs Hans Ulli Kroll
2018-03-10 21:13 ` Jacek Anaszewski
2018-03-18 14:24   ` Hans Ulli Kroll
2018-03-20 19:40     ` Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.