Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6349278rwr; Mon, 1 May 2023 22:02:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5m5alP17hLsxojDwfsnngvNuYTbacKct+LPMV2ifTqb4cXnK4iRtURwAPu7Vd+pwTYRKW3 X-Received: by 2002:a05:6a20:6a1e:b0:d7:3b62:3cf with SMTP id p30-20020a056a206a1e00b000d73b6203cfmr19521883pzk.54.1683003779560; Mon, 01 May 2023 22:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683003779; cv=none; d=google.com; s=arc-20160816; b=OZPNwCa3CCkPjPstOlBGpt3WA1zJwB0CUvGfSgSmvGKZHh8/FroBAmHq8S+NFFKvbn nAiA1/8XnxpQmDUHHG6yoZnac7fpbj05RK5F4wMGW1dVAq644oZ/zHHiyNJZMVgtbuDW WPmsRZRZ4pCuiY54so4ERsAq5Wz5mLlXZeGTagWC83J4NcpljxYfgg7BnoM+B2jnI7aN vLO5F35G5VGW4I0rQKkjM/06OKGk0gdVDJzYWH5C+wfSsDB7cQBLD6o7ZHAF9h50oReM eCMbbHaveg2VxV9snMuCMQlWYOdwI+XXxzw7lLbUz+TMNfejNHm8I6qUrn+ZR6CTrijR +Ksg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:dkim-signature:from; bh=ZG8nXW8/bejCMPIllPvGzMKf2gpv8iVBppFk4ldWyC8=; b=MPSiUGoIURBj/EY6kxcTCfkKoYb5YlTeMMa8PC8ptPRGevkHMGBFDe9g8C6QoNNoo/ FO7s1HBgVTJN/+TLryfUyUndKei96JSU28oYAyXpCIYIXAwQ8oDGomMXw1QavNP3jsmE h7LHI+GEQ8nC/DKgLPVuB90kAsM+ljpQxOJxgGgfZdFDO7V3E8/VZzOzoy4H4Uhquw6c T8Ypow0f/9Mn5PJPs+tNeSwbhpo1xip/Nk1YSyaGN6rNlooY4J3tMFa5KkOYdQINwwyB jq6pd7YddKsb6RloQAUop0V/ZySq2nKf7UjO0Ao/mcMrC4DX/EzWXtd5pnB3ycuNWAeW 1VVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="Y/RM9qYZ"; 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 z6-20020a63d006000000b0052856cec94asi18596024pgf.884.2023.05.01.22.02.38; Mon, 01 May 2023 22:02:59 -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="Y/RM9qYZ"; 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 S233151AbjEBE25 (ORCPT + 99 others); Tue, 2 May 2023 00:28:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232598AbjEBE2y (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 C6EC9273F; 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=BeFg8v8OfXssu4fkWhQYkGpmzVPUGjmIEtd1FeQhc8U=; h=From:Subject:Date:To:Cc:From; b=Y/RM9qYZYG1vXcOkB1sQ6demroY5aO+7spKfFHOWniVG95z0WfUBjsI5jjL09FHYL xmJCIJ/mIvPjVtG+VgAH4SzSXSVA3/Hcj3PqVQMMcVR82ArQakHZpwTU5XSQ8/ZWEZ 1IKAzprGpAlEDHYGbTj4suEfPv9Z5s7PL7xmZow0= Subject: [PATCH v2 0/2] power: supply: remove unneeded include of linux/leds.h Date: Tue, 02 May 2023 06:28:43 +0200 Message-Id: <20230212-include-power_supply-leds-v2-0-e9910a3f5837@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAHuRUGQC/42NWwrDIBBFtxL8rkVtQOhX91FC8TGpA2LEiUlDy N5rs4J+ngP3np0RFARi925nBRYknFIDdemYCya9gaNvzJRQN6Gk4phcrB54nlYoL6o5x41H8MR HkF5Lp622irW9NQTcFpNcaA+pxthkLjDi5ww+h8YBaZ7KdvYX+bP/pBbJJdfG21H3qhdCPVZAI nKhhmuCmQ3HcXwBG5UhpNwAAAA= To: Sebastian Reichel , Jiri Kosina , Benjamin Tissoires Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, kernel test robot , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683001727; l=859; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=BeFg8v8OfXssu4fkWhQYkGpmzVPUGjmIEtd1FeQhc8U=; b=3+mN3pNtjfFOty41fg/pdL2xROrRxzG7AWRWGktbgwNJoQiDdhSdyGil+xklBSo8FhSsJnblD iHlfL7p6hOZBrHOj4Pz19pvKzlXlRLMJIPWRze9Nho4GFm/S2sZDoBx 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 Currently power_supply.h includes leds.h to get access to struct led_trigger. This propagates the inclusion unnecessarily to all users of power_supply.h. Replace this inclusion by a single forward declaration. --- Changes in v2: - Add an explicit include to drivers/hid/hid-lg4ff.c - Link to v1: https://lore.kernel.org/r/20230212-include-power_supply-leds-v1-1-7adbf7424002@weissschuh.net --- Thomas Weißschuh (2): HID: lg4ff: explicitly include linux/leds.h power: supply: remove unneeded include of linux/leds.h drivers/hid/hid-lg4ff.c | 1 + include/linux/power_supply.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) --- base-commit: 865fdb08197e657c59e74a35fa32362b12397f58 change-id: 20230212-include-power_supply-leds-fe1d71c7b7b2 Best regards, -- Thomas Weißschuh