From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796126663; b=omBcB8iDw60jhjh6b6xsLvU5kvbD3ThsMAU9Gx8t1wc5Hg0tw7qPUQ+5pdcgWh82pKR/ Gyciz+r3z6ZP8wiB8GxDCy5g5BgNqiQ2LCODT8wYD1qAUc4BQB3v6t1vKTP3FFCz9ZW6R sBOCR1l3rhPHgjaE5HZRRksjrqkLS/Rhgj+MW4RQ9cICQyjdCYSgK9aS+vZ39F2Rsk6aZ ggxI8ccyl/xrZ9AdKOPMitX/fjFe70FPp1WgVJB09nEH7GhkN2gxpambjMTBfpZPGbVlA Z6Stf172+fGBDfDRE1To7JR3P+pku5ww0Se0no+tcfXI7bB9MgYe5/JoV9W9gGsGmFA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796126663; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Type: X-Developer-Signature:X-Developer-Key:Content-Transfer-Encoding; bh=lR9GhoMwCRXAxacCe+UDR1cXpYiCMcHogZ8+Ic8DT7Q=; b=SpQ+wUA6R6VmudHxhOLJ+BRsFj/nnyGJsmAwGfFvfTjHJNLdJTRLe613jE03ZpF6i34P lHgDXZVTntA/yHB8b4rZsVADArFcWN8uMmhpbqoKJk7gg3N1dlgw3d/8JsS8fCov84onR qnuZsSahcaRmyOiXvlANgj1Uzy5uap6CpHnJr3aGlBbk8UUAVlXF9sTZ5ElJNECuFPXrn u4IRyTAi5tia4IhNuNkwakh1TQzhbqEvVs7pjMt/PSndtQo4AWo9teQRiFxFURwQgcFih LZq8j7/OfpsV1v7kXx6ru3O5AVLEOy8Ek218hCYiqV0zyiNxsHZc44twLy7CEEvI00A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=cq9rS4Zo; arc=none smtp.remote-ip=209.85.221.42 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A2D6606A320 for ; Tue, 1 Dec 2026 12:04:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4A2D6606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=cq9rS4Zo Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-490d59c3f0aso5398067f8f.1 for ; Tue, 01 Dec 2026 04:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1796126661; x=1796731461; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=lR9GhoMwCRXAxacCe+UDR1cXpYiCMcHogZ8+Ic8DT7Q=; b=cq9rS4Zobp7jX43ZHCoeONkM8h78tNUAhxRvZSaYOMUL8Ur0dKgfIDgCJAzfZkouXx gEgXp411oUmJjJQ2frP/sghUQoG32LypLcYfJhK+nSH/9DgT8SjssHauRBNG0uvh6/C9 KpNEHQMWFf2OoeBvHxTnanpX1twwbsggomIaQ5t0ribXL6uVNQgfZ+bg9JSIrYEtQ2Pt KwQkyH555QBSOfgfybPkFOmhJ2BZ4fXy+jrlglSgbW65JKXE+hfBJmg5VYOYZDOc4QM+ 1QI6ibQig2vPF8gsyQaUeSgZmLd/d0WyGLnHxAlkWBPzANHpo5H2TPV03p1mNs7nJVHb e1Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796126661; x=1796731461; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=lR9GhoMwCRXAxacCe+UDR1cXpYiCMcHogZ8+Ic8DT7Q=; b=JpsdBQZeYW/cSB3qIC4EJrjVi7LA8Ukd7M+nToD1rsRAcn+vwUEMDg495ZABx+Q/a5 ljKqzkHpTv5cpHlPhf2OiaDAgvabTnW3tdbog3VHFcXklSp7PSfoW5MJJYEi5eNUdgjz SqycFuUp0Wb//aEGu+lIRA+JkRWsXhBDw1URpyjfih4rn2gh6rRL+gM5MrjOux/brmK9 5jQ/H1WYBWQBeSUIu5jGe3e87gOzz2m1KS1TwAs9aKH2Ouye8RxbIlLViYn9EHzHo5vj Qc8TqERhxDXbslQ8mogw7XN7W4dgzspJxvytVLmBBVew8aFaPUnB6xhjs8JuKnkiMZ/v GeDA== X-Gm-Message-State: APuU4Z929zDDReA7Ef9s8fl6XrLsMlSoKcHjFObhBkbubTYnavOtc2AE ZYRSuaPKOBj/ksoouNfyX+Vil8W5n+3vXFoEJKrpxQOoyyw6bEeDdDp4m0APOYfHC1o= X-Gm-Gg: AZFdTZewSR51ZcbKiuMk5Xux9Ay1Icf/jFtRi07eEO+R9z5XL/zlz4hAVJhPWYlqLMY TXdRIJ9pWlpK2xyeVdsm9nPS6eq4JYOmuzrRRHScjM908RqQYPGzko7OtnUB14pZhepIyfVh8Ce i0OaehaSO3Jivt3Dehzdrs734yLLobhLwOc+b7nC3/2onPeiFeA1nBqHbpswd14ZsY0aC5i3isl VXYIYPsls7UzIgJ0d1izCfc7CmTUKiyspTo6GZu8FJmybxfOf94Hg+FHa0fxbDP93z9XNt/yPSx A91Ekmj0q+MpN9zY9rT6RYDfv6rasAUFinTejYvctNxxJq0xasiOJ8M1VT9KEt0iyg1E3GwTZNr w+Le0etxNxpX7Q5G5LZJSh0ETg8zX/rrA+FBQlzyMtBe/9V/Hdw6JKkeK8MpEwoqEQh1LE4ILJC sA1gMFbDaMcYs8s29GLrETRNSzRUIQYsr3RCdcaZ4/LrEmwwZBKVyhTKeApkYznqYukvOJJtbTn RzMDX2W7W7EYchhvtWQX5QWDdUhy9ZmkpYrxHESd4APbkK13tMn9igH1hTlxhkGHpEClGnbzyaw qrs7iQ2Jr5sEZHtYRv9fiZsQyIoxuoMshDarbkDwkqgnMRfrUpxL5IW+UPEPAiWYReaVhVDN4bY 6oyjy+0Y7tjFw9wj0 X-Received: by 2002:a05:6000:2403:b0:4ab:f0ca:853e with SMTP id ffacd0b85a97d-4abf0ca8557mr71712950f8f.10.1796126660767; Tue, 01 Dec 2026 04:04:20 -0800 (PST) Received: from localhost (p200300f65f125a087a241bdea2fc5db8.dip0.t-ipconnect.de. [2003:f6:5f12:5a08:7a24:1bde:a2fc:5db8]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-4ab6a67f204sm88327096f8f.21.2026.12.01.04.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 04:04:20 -0800 (PST) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Stephen Boyd , Abel Vesa Cc: linux-kernel@vger.kernel.org, Jonathan Cameron , Lee Jones , Arnd Bergmann , Greg Kroah-Hartman , Srinivas Kandagatla , Vinod Koul , Linus Walleij , Sebastian Reichel , Liam Girdwood , Mark Brown Subject: [PATCH] spmi: Drop from Date: Tue, 1 Dec 2026 13:04:10 +0100 Message-ID: <20261201120410.687584-2-u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.47.3 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=2992; i=u.kleine-koenig@baylibre.com; h=from:subject; bh=odt6BTydr6Ymo4FPE1/1mtquj4zmvixp5SKr+VSVzTI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBrDre66zPKuaQsDcmUjgj7aHsbikEeU6nd9gSMb Zg/S2Osr+yJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCaw63ugAKCRCPgPtYfRL+ ToKVCACTZ95E85MUNrWStWVGXP8ieVRcV4nIRSdCl0OHHhWvwvO5OIhO4clRBn1KY8DSAs7/s/1 V5+QlGGF3obu0STMIV1LmD6huu9Yfhcm+JA1jOGUB6+nHWYrx7xi4YZc5rijwVQbDxfBCPrAbGR 13GZt8mhxz1RWLyLc7lkhxAfa8qBcnH3c7krDoLGjCumWJyx1t74HaQrUCzg0fcHcCHs9VBzhAk MjRxhhLwNRCMbyIqbMXZFtFu56Pz1JkC1K0DiWSWLkC1Wket77R7sd2VjgK4hfv7+VUrN8qZqBX PaqeZawooe+CF8KJR2owLElDedM/j6pBF9nDJFWCtJWA6Tna X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit provides many *_device_id structs, the consumers of and the header itself however only need of_device_id and platform_device_id ( $ git grep -Eo "\<(acpi_device_id|amba_id|ap_device_id|apr_device_id|auxiliary_device_id|bcma_device_id|ccw_device_id|cdx_device_id|coreboot_device_id|css_device_id|dfl_device_id|dmi_(device|system)_id|eisa_device_id|fsl_mc_device_id|hda_device_id|hid_device_id|hv_vmbus_device_id|i2c_device_id|i3c_device_id|ieee1394_device_id|input_device_id|ipack_device_id|isapnp_device_id|ishtp_device_id|mcb_device_id|mdio_device_id|mei_cl_device_id|mhi_device_id|mips_cdmm_device_id|of_device_id|parisc_device_id|pci_device_id|pci_epf_device_id|pcmcia_device_id|platform_device_id|pnp_(card_)?device_id|rio_device_id|rpmsg_device_id|sdio_device_id|sdw_device_id|serio_device_id|slim_device_id|spi_device_id|spmi_device_id|ssam_device_id|ssb_device_id|tb_service_id|tee_client_device_id|typec_device_id|ulpi_device_id|usb_device_id|vchiq_device_id|vio_device_id|virtio_device_id|wmi_device_id|x86_(cpu|device)_id|zorro_device_id|cpu_feature)\>" $(git grep -l linux/spmi.h) include/linux/spmi.h drivers/iio/adc/qcom-spmi-iadc.c:of_device_id drivers/iio/adc/qcom-spmi-rradc.c:of_device_id drivers/mfd/hi6421-spmi-pmic.c:of_device_id drivers/mfd/qcom-spmi-pmic.c:of_device_id drivers/misc/qcom-coincell.c:of_device_id drivers/nvmem/apple-spmi-nvmem.c:of_device_id drivers/nvmem/qcom-spmi-sdam.c:of_device_id drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c:of_device_id drivers/pinctrl/qcom/pinctrl-spmi-gpio.c:of_device_id drivers/power/reset/qcom-pon.c:of_device_id drivers/regulator/hi6421v600-regulator.c:platform_device_id drivers/regulator/mt6315-regulator.c:of_device_id drivers/regulator/mt6316-regulator.c:of_device_id drivers/regulator/mt6363-regulator.c:of_device_id drivers/soc/qcom/qcom-pbs.c:of_device_id drivers/spmi/hisi-spmi-controller.c:of_device_id drivers/spmi/spmi-apple-controller.c:of_device_id drivers/spmi/spmi-mtk-pmif.c:of_device_id drivers/spmi/spmi-pmic-arb.c:of_device_id ). struct of_device_id is already provided by and drivers/regulator/hi6421v600-regulator.c includes itself to get struct platform_device_id. So the include of can just be dropped from bringing us one step closer to remove . Signed-off-by: Uwe Kleine-König --- include/linux/spmi.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/spmi.h b/include/linux/spmi.h index 4daebc980501..57d5a29c80f1 100644 --- a/include/linux/spmi.h +++ b/include/linux/spmi.h @@ -6,7 +6,6 @@ #include #include -#include /* Maximum slave identifier */ #define SPMI_MAX_SLAVE_ID 16 base-commit: 253f86660c1f882fbf554db5eaa34bc5d66dc7e8 -- 2.56.0.rc1