Message ID | 20230212-include-power_supply-leds-v2-1-e9910a3f5837@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp364173vqo; Mon, 1 May 2023 22:05:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5uPBV/PJrg6s9pshsQMvPtVtkCGBctYiW5n4v9ZQGvHbWcIIPnEBJv2wY999z4eXXrrOSX X-Received: by 2002:a17:90a:46c1:b0:24e:1584:483f with SMTP id x1-20020a17090a46c100b0024e1584483fmr3383181pjg.43.1683003954645; Mon, 01 May 2023 22:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683003954; cv=none; d=google.com; s=arc-20160816; b=p+9taYl/o05Tk6ft5PbMGvvvYFly6DfsPxswgQu4tLv50WbSCPqc8QCVYcRz4YG8xK 0zOPP9H39PiLlNnAMuF9zPqAAehyjJecULSO/REap+LeKuuzt6DAhhG7JxxK9Myos3Yi 94ZoQdpNXx2cEP/N78PF/y8n8ojJXltgRqeLUFP4NP5AhrAJO5wf/7Jl5MS37bdk5RYj 5Ltd2NWPgXLiq5BW68qWZKgowqete0n3W9KuVgvQYRO4Wa8RnNEaFPwivv54iU699yu8 h44ZBGryhszzN2NKA8//EP3ae8gVxNTiXZawD+NnMMs+m1YDXoxfEXqRIH/XqQcMu+iB Q/8A== 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=rA+9appz7nle37nL9kI31YYruRoBKtMvggVUicYqMWY=; b=hrjCKCxX3zALnty83UCY2KfHugMqfZCkH+cdraAPPKSaE/F3Y4B2k49pTggNVPBfGU UuRwdsKw99MQ/RyZM0c7dtEFKwmDfgiogvEDvYnj6/7Aajf6N3hmJztcKStnB1dtV8jB CUgnGg5jCecCZfHpfJ+KYlzaFlMuR2h+4pat9RWT7PhDRmEiRku2WOipbFTWsZGkYO4B wB2hT8QiYo/UzP49Nv8iFeKwkHwpp4e2C96q5CSYw6C770jfB5VMwHY556MLtA+eU9mP e2/P2IXJ+D7m0htb/BTpDPy+5PHcN/zwByU3nYayO662mimhrM4D6CR0ge/e12DR9zRi fB0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=PM+IzfIt; 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 gv24-20020a17090b11d800b0024e12dc1e4csi2459823pjb.86.2023.05.01.22.05.37; Mon, 01 May 2023 22:05:54 -0700 (PDT) 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=pass header.i=@weissschuh.net header.s=mail header.b=PM+IzfIt; 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 S233333AbjEBE2z (ORCPT <rfc822;rbbytesnap@gmail.com> + 99 others); Tue, 2 May 2023 00:28:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbjEBE2y (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 2 May 2023 00:28:54 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5F5F273A; Mon, 1 May 2023 21:28:50 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1683001728; bh=qFEajWvVlStRcKllCItBDHDpRzStSprf9+KoOJV74tA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PM+IzfIt5/Z2JTAhnSub3LQITSndz4ruxbPKfwrIFZ7az2Bp0KLnzt6RLUznuMU7k NlFW+t+LCfEuYJCOo7UdXkNXpPKw9md+feY4pBnwJIo1Za1bFXgk5mYohPVbC0dwQJ I+trX8tC524rxT9j0ImOOsj1KriZNWRIVKp+YrNA= Date: Tue, 02 May 2023 06:28:44 +0200 Subject: [PATCH v2 1/2] HID: lg4ff: explicitly include linux/leds.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230212-include-power_supply-leds-v2-1-e9910a3f5837@weissschuh.net> References: <20230212-include-power_supply-leds-v2-0-e9910a3f5837@weissschuh.net> In-Reply-To: <20230212-include-power_supply-leds-v2-0-e9910a3f5837@weissschuh.net> To: Sebastian Reichel <sre@kernel.org>, Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, kernel test robot <lkp@intel.com>, =?utf-8?q?T?= =?utf-8?q?homas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683001727; l=714; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=qFEajWvVlStRcKllCItBDHDpRzStSprf9+KoOJV74tA=; b=YdHBbqFXjpQWMH67rf1otRSXNwuxB4SQ0KuepjxAIZMcH3bNVcaxs2Sg7kLD0ZUEtrDGFsGbX 8nYgxhwkz/RDHA52ziJiCIZ5kCogsQviBCw+UQ/ShkS+Gb+dPxVQ4rJ 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, T_SCC_BODY_TEXT_LINE 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?1764757554254396895?= X-GMAIL-MSGID: =?utf-8?q?1764757554254396895?= |
Series |
power: supply: remove unneeded include of linux/leds.h
|
|
Commit Message
Thomas Weißschuh
May 2, 2023, 4:28 a.m. UTC
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202304301551.baBXvI9d-lkp@intel.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
drivers/hid/hid-lg4ff.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index e3fcf1353fb3..d55d04c140b9 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -15,6 +15,7 @@ #include <linux/input.h> #include <linux/usb.h> #include <linux/hid.h> +#include <linux/leds.h> #include "usbhid/usbhid.h" #include "hid-lg.h"