Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6337941rwr; Mon, 1 May 2023 21:47:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZtTPlhcQqWvAVeEgoa2p5oLWzHv8q0qwCwmxykrXS/mJF9k19l9vwQAsg7duXcZl9+98i X-Received: by 2002:a05:6a20:a124:b0:f3:ae06:c4e6 with SMTP id q36-20020a056a20a12400b000f3ae06c4e6mr21252788pzk.6.1683002822864; Mon, 01 May 2023 21:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683002822; cv=none; d=google.com; s=arc-20160816; b=M4ih0YEE4q1zRpgIPNBREOq3J3oIa9E3ouj13ffuwGcJQcsadgsmCVm1V92sMZ0VjQ FtjLELgxvn8zguCNmrv0jOo3j5IpZcXOdQo+n4815z2gFXgv8xIRlUxisBUh3MaiufjY sSF4WRkAxORde2EW4MAzb4DawwuwdeDR6QVWQhYnjtLKja8EDa5/rOdCbG2I8uVZ5B14 vkiHgzCO7WlsOH+4iPsjy6fCpAGDUz7QENMEVbYQqnrbYOaYBiaLLfF840Ei3tULjl/w FuzCXvOFC/Pw6ZnFOTWYYDYJHhGe9RmzElHj8/dK1xpq+5bxfYjkV+qWmKOAfJGN1Gdp w5Eg== 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=qUezygGFkkYKK76n2dOmbsr4bTgmwNsZsZr7jd8qw+Y=; b=i35a5M1xoZ/XOh91y5d5y6ovIRpcCrJcVtfz4srlH1GUvS39/z4I0YJgq7TU/aO5di /mW8OLlBMH1yYHGbz8CrrjiPzvnJh8ITBy8MJFU2I7DeoCJYXMveJtcUX5Ts2BZQygEF +kpQjYsOjfVg/g8ljTroggZ4pUl6R4GRA5GqSaBw6SWlbXyfnotmxx0I3vdsg1qQec4G TGBcFYwBUzw0fZLaIZitMl202U09rtL6cNVXb/uu1ZEuAPUZ9YpBrv6cATXeWC0rztIB uPxpgVtjDmaVA/RaUNJKNNiivsCyBW5sqXyFedR4vE/+6iqnDA1BQyfs3ixzUdSzOYCe KVCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=ZLOya9fv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a63de44000000b0051b2f6c48ffsi28411087pgi.793.2023.05.01.21.46.44; Mon, 01 May 2023 21:47:02 -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=ZLOya9fv; 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 S233379AbjEBE3B (ORCPT + 99 others); Tue, 2 May 2023 00:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233235AbjEBE2y (ORCPT ); Tue, 2 May 2023 00:28:54 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CABB130E1; Mon, 1 May 2023 21:28:50 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1683001728; bh=FVAGAMsfB/9ZOt6WpZqigpx8Wc9v/TnjxkE0rIT4oYg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ZLOya9fvHRuaat03BDMkgYsFnOPbirmWjk4hywCGkEwnCc+RmvVn5ituZmP0zvVFP N2dx9gAXShdTnEXRH51uDOhWsYtAr+a0WUJIf6FbkBddShpdbl4dPgcF5QZwaEwS2T D35k0NlIO9Cf3MC+bP2nsGo5BYOylDE5dovvRtSg= Date: Tue, 02 May 2023 06:28:45 +0200 Subject: [PATCH v2 2/2] power: supply: remove unneeded include of 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-2-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 , Jiri Kosina , Benjamin Tissoires Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683001727; l=808; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=FVAGAMsfB/9ZOt6WpZqigpx8Wc9v/TnjxkE0rIT4oYg=; b=YqdN6JIcUaOMAjZobPUyAAMZ1rz+dTe5E3M8l8cZttXp67ba/cbVYIoo4CbjtZ/UEfrACldSP veABqKbSV+oD9SL95GIGWtGZtxeAxeSJU7bv4SGpdNle6X6qb5Zfdo5 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: X-Mailing-List: linux-kernel@vger.kernel.org Instead of including the full linux/leds.h header file a single forward-declaration is enough. Signed-off-by: Thomas Weißschuh --- include/linux/power_supply.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index a427f13c757f..dc5e17e8c919 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -14,10 +14,11 @@ #include #include -#include #include #include +struct led_trigger; + /* * All voltages, currents, charges, energies, time and temperatures in uV, * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise -- 2.40.1