Message ID | 20230215-power_supply-leds-hid-v1-2-35b6f1dcee8a@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3292975wrn; Tue, 14 Feb 2023 17:06:48 -0800 (PST) X-Google-Smtp-Source: AK7set8tzTm6Oxe3QM30FioPmM6UnSP05YzFC9KIqyM74rD023TDl6e2UF/2uTAAJAhR9Sgx4ZuV X-Received: by 2002:a17:906:3e56:b0:878:7f6e:38a7 with SMTP id t22-20020a1709063e5600b008787f6e38a7mr599773eji.44.1676423208334; Tue, 14 Feb 2023 17:06:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676423208; cv=none; d=google.com; s=arc-20160816; b=es82fUIsQ7nMQGKfqHEVX2AKuQ0DIYzLeC9Hp1gurM98I+/x6l0XPrBlHfMoECStL2 trhOxp57lpniARl8Dj9NNwN62j48zgZASR+ksEtBEg3Q45lq+4uzOywoMTI4LZS64S0B YFzxVYNMaTSHX0jhyBDluK0XDwYt495XOJ9FsOw/ejnw5ASgbOzBwxCgx+QE9a5OhEeE TrukGT4sUznfKCZToigfkCt92dEa4f2FQTXGjZQdf0uL3szntj12H0QGGZX5ha/ATgap kGvCJlwE/OXzVj5ub012MbP05xH8LkmX0o7a50QxgRB7DTfLLMIXOB4PeeduCF6AknLi Pedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=u0xEOD3rD/cB5BrBexzuhXTC1INIgbUCusrpElISnKM=; b=gM8TpyxA51URCFpI4iCoKOblQkPqla4nnXYQghL+jmAxgSBzyFsNS28pGKJ93UJV7K ku911/jYb0T3oLYG6fiwm5uA45IWni88GusdxN48NgYuB7iW5TNAxnJPfNqDo+seYYGV CuXDqb5MZCYuFU7mLqUgO5F7dnaur6pO7G4MaMjDWmvPgY/7Vigz/mEA24n0PTo2xxXp 84Ibv21MpTkTB3j5Yy305X0wg74DuI6qqDxI7er/rpbuqHxT3EHCLgrZZRequPD0thFi ggNyVUabHTb6T2KKVO2Of2V7yxK4A3uq0dvE/nQvTzEOzPY7Zhtt5Vc7T4pOf7D3zIXw nslQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=ruptiwcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a05640208d500b004acbeb8f656si10202611edz.337.2023.02.14.17.06.25; Tue, 14 Feb 2023 17:06:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=ruptiwcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232289AbjBOBDq (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Tue, 14 Feb 2023 20:03:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjBOBDm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Feb 2023 20:03:42 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2493D25B98; Tue, 14 Feb 2023 17:03:38 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676423017; bh=QSEi72eS8D+vdc6SJvnTOOZ4a6yNzxJG6IsdhOBtBik=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ruptiwcXPb+I/rhw/dQOykMzrFMNm3y3g3Be9L8Q/wNKgoLSJBE9O5NwaiBDGJssD 9l6fnbwYx7+FwvWxsfWUfhjJH3DfZOVWnd6oFZdKIK/jcscQqkSGCFBn6WZ2zVS7J0 bASp+m4VmuWjrbn3+NYjO85CG9YF+DZcMs34IJxo= Date: Wed, 15 Feb 2023 01:03:35 +0000 Subject: [PATCH 2/4] HID: lg-g15: explicitly include linux/leds.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230215-power_supply-leds-hid-v1-2-35b6f1dcee8a@weissschuh.net> References: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> In-Reply-To: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, Hans de Goede <hdegoede@redhat.com> Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Tho?= =?utf-8?q?mas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676423014; l=593; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=QSEi72eS8D+vdc6SJvnTOOZ4a6yNzxJG6IsdhOBtBik=; b=tpkYpRJdcMg6+RB6OCyyAY756/tHbXtVNBvpAcdob0EDMlWmFPvp7f83j80U1/BQca8LhYDro hpFBpRUUcdlC2Wn2l3RYOkCFCmwUwTXcvTCPuRNTdLFeVZx5sHJWW1o X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757857142102018986?= X-GMAIL-MSGID: =?utf-8?q?1757857142102018986?= |
Series |
HID: explicitly include linux/leds.h
|
|
Commit Message
Thomas Weißschuh
Feb. 15, 2023, 1:03 a.m. UTC
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
drivers/hid/hid-lg-g15.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c index c8f82bcbf1ab..acbec1dcf196 100644 --- a/drivers/hid/hid-lg-g15.c +++ b/drivers/hid/hid-lg-g15.c @@ -7,6 +7,7 @@ #include <linux/device.h> #include <linux/hid.h> +#include <linux/leds.h> #include <linux/module.h> #include <linux/random.h> #include <linux/sched.h>