Received: by 10.223.185.116 with SMTP id b49csp2825558wrg; Mon, 5 Mar 2018 09:15:10 -0800 (PST) X-Google-Smtp-Source: AG47ELt3b2eUta6s/GdQzKX5yFu7YEl4gqtLl45NulmOWDGN+rwrkGaazY3RN1E6koC/czIC7kH+ X-Received: by 10.99.126.19 with SMTP id z19mr12675704pgc.108.1520270110619; Mon, 05 Mar 2018 09:15:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520270110; cv=none; d=google.com; s=arc-20160816; b=g+izvGIx+mUXIv2X3+OrObhU5pqIRRrZ99ZKMx2chet7lg0HcOzeSlCQXyqnibLEpw iKApJ3/q/BsGTMDNACtxhIIQcrpBQbyainlgJgE/1FM/nrdAiPrW/VY6OENaqdJs8cya qFaiJETjxMytW6mShLanljZCWdC8S93CfHL6vJEt6nE7p2DocsvhMpTuvSGocGThJBt9 Br8GCH+SyhmpkRQO/LfixrbUoqUlA6e1yLOhQQsbKXdd9MJQuRdK4qeJHgduaIuHAR68 1VdIG1k6KO/VJNr4ZMW7YHwh5Y+mvE6jgnMCy36L4ohdi82qJtAE/X+z+avljzKgbaZ8 Dw6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=D0tt7ljPtm+VcgTNc+AzHPIYM2p+RTUJyNjHWG+y/Cw=; b=bBJDqWuWknYtpn1toKgY8w43J78xVtL+CYuciZEG4/X1iF5vPsiXJ0Joa3WdQRU2SC xhQuNqh420UL42y2nvFYzwb8YxnOBC7uGYwpyy0fWeR/YHnM0x5yY5JiCk+WX4ASCdhI 2eV8YxYWDqJxFC/VKmqL6b+kMXR2rM4VmIQdklGdso+j8fTpJnoOStC0SMRvGPboZfiM vtpSe3Xb/G+8Hm5Y2peC3F+R8gCVkeKF1m9VVGP5BOXOn5TR12xVki6Y4T6+i0YXaomU oLqVNzVTW4iasuhAk4v4y4EoRsjyDINOgAK47821qsfeJScM/uM9ts7VWHDUG5Vw0Hxr 2huQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=Gdbn6pP/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si8553905pgp.704.2018.03.05.09.14.56; Mon, 05 Mar 2018 09:15:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=Gdbn6pP/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752737AbeCERNc (ORCPT + 99 others); Mon, 5 Mar 2018 12:13:32 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:51092 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490AbeCERNa (ORCPT ); Mon, 5 Mar 2018 12:13:30 -0500 Received: by mail-wm0-f66.google.com with SMTP id w128so17481620wmw.0; Mon, 05 Mar 2018 09:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=D0tt7ljPtm+VcgTNc+AzHPIYM2p+RTUJyNjHWG+y/Cw=; b=Gdbn6pP/x48fGiCsn7dW5Fvf9VXraPwEoHUuvx8UnlxfByWkvL57HhTg8Da7gcnUzG V0XBdyoEwpIpAgZwR1FGlOS9RRDo8D0AMrZTy+rhsF9BhwVna4Esx4pMbJECDvBUxCZN XBF1zCoMgcraiUxKHTqtwH9dnfHXX3c1hYNFHwKz+nN9SM5cILhmsFFMk5ZOcA3KVSLX cp8Hi15v+KRhj4hpXvYOXqOfKI2VRKs9rxQ1/hzLcRykGRiUi2eBi2lV9pRCHsjUFOKz OZfk8kKRqTiRlw/NpbbZuaG8Kngsr9v6Swzc36dDStQ3NImqVWa/C6bLCmPFnsAp4Ucv +Iog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=D0tt7ljPtm+VcgTNc+AzHPIYM2p+RTUJyNjHWG+y/Cw=; b=ZvInsfu2QmqtC/0Z7gZLtfRTdBt8VMcuHJOZYjR+/taJs/m91xJrsGbL5I2Dt/+uZi B3mG/YCzSUZdckZtB1D8KAEiJA1/6tyXab/niZhoWAPEUmY7IWnTru0SVfuK0sNJjXN8 UjdqweLdv4etRH6KLV1G6A9BFDMAr/zd0rX9d7fM93/LOKczjaNar/dJyZh8SaMEiaH1 tVUd94WRZnXtn20m30iaoKIpdHTapUWUegw+FdgZQYwPIbrKHRUyXLNLLUU9hWiCrM5B yJP3NT5HicxhEI6olEe3vmtE54WTCvGYKqjCEK0232dEhLIAZpQeM61d7U2tEbX2+tNT PZiw== X-Gm-Message-State: APf1xPCOpDyTNgRw4cyz0xyPhsjnsm1YZso6IjHnYMAv8+9PLVDYXwUN zga2gSxKjA3MJ3mNuTf8q50= X-Received: by 10.80.136.229 with SMTP id d92mr19148921edd.239.1520270008864; Mon, 05 Mar 2018 09:13:28 -0800 (PST) Received: from localhost (cable-78-34-29-248.netcologne.de. [78.34.29.248]) by smtp.gmail.com with ESMTPSA id s55sm12485468edm.58.2018.03.05.09.13.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Mar 2018 09:13:28 -0800 (PST) From: Hans Ulli Kroll To: Alan Mizrahi , Richard Purdie , Jacek Anaszewski , Pavel Machek Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Ulli Kroll Subject: [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs Date: Mon, 5 Mar 2018 18:09:10 +0100 Message-Id: <20180305170910.8905-1-ulli.kroll@googlemail.com> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org APU has compared to APU2 no DMI_BOARD_NAME. Use DMI_PRODUCT_NAME instead. Signed-off-by: Hans Ulli Kroll --- 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