From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF1F03EDE59 for ; Tue, 14 Jul 2026 07:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013917; cv=none; b=F3gIyyEgRQbyF0cJh0EM6XbKdh4Mi+Pf8JInYDstrNEx6p3N0ZY+IdaozLise6BORt61/ABOCMfRwVbKP48PYjsWWtg2t6r9Q7nsyhlzEKa7OnWSKYFPp4W4t4waMWoybs8QBM+oUthT+kOr2beazo0SEkKMKZpwDIZ2fwji5hM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013917; c=relaxed/simple; bh=kPZuTME3boeG2MrC6mpNSfxJ8R4eFTDK/auZCtUoPjM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lL2IIZb96/Uy06hkWMJs2h3SwcTC9wwDHOBndhO/gWIyCr7frX/J3Dl29aEnvpdZDtTA8p3NoER7LSc8ilwaThA4i82YtFazz+/0FS20i9w3/cgD5XdrLlwKHpdmwANsHBCDeQHQnTRj+s5mL5PeRoTgSIl5bwZl5855yVLFUDc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=Uky3VLS8; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="Uky3VLS8" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-47f3e6cc44aso1671449f8f.3 for ; Tue, 14 Jul 2026 00:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013914; x=1784618714; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=UERlSXH7BI+otfrBEKOfsKPrqfU+Ml4HKaAHy/e32Sg=; b=Uky3VLS8aqS8qpVAjLzSk8sAlcJvYyjbAijO7KlEfxeBrJkpI3J3xhGb3pJKGBnhjZ dBl/cDlGKWQwziOG8/cBRLT20g5/ejR+rzMJzCu459YuAwCzvKbxHJjWesmDIIOUEzie c+5RUUiLwm/H9z5bXB0+mbj9BnCsTL+npkvkolhMfbUh2TGwtau7U9/nIndzCIB4CiAI QiJB7fogt9kufMSjMLaLiU7TBel0DJyVJhKg5jkNSGtSqY76pUozbq34n7pacFoUE8yB yWEwvafflYrWwwreS/Y3inJ6bKuliR5OhuzYlKHvqjUPYgNiJOwfA5xWJZ/AsqFBbWXi MVmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013914; x=1784618714; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=UERlSXH7BI+otfrBEKOfsKPrqfU+Ml4HKaAHy/e32Sg=; b=Ni02PPAoU4ftzHDhG4+VEXw0zQh809p71os1k/r8I9tMHSERWH8akLzR7Bo0ya1sez j2H9/3nx0+NBUpUDphgi73Wn8WDvLfxx6F5Z3tssdAC/UvTQlQ2BYSfTvhMI3JTy7Lmj 571+pUsdGyqhvn3g4tdel728jSMKYQnO3oBSDhpjJ2fOaFctOfLXubmh01NPKmcNN/HM 1ZtOc1T8E/o6IrnZlpjh1iboa68K+nqkejSWKG97sXu2gwBJmRj2ZzcsB0+5btRmMTbp p9DqCGQGkUItEHk3+OnYycL4RMBFmi9eo1hcbFECv227fBgpJTiPqAeX6BdiKxI0akUv f6Gw== X-Forwarded-Encrypted: i=1; AHgh+RoaBPanBzNOHlEh87jtRqk1//uSAoCoRLYfA9yDN0JKffhjdbZNXCMdIempJLfuSQgcow7dUjAjXnD4XMU=@vger.kernel.org X-Gm-Message-State: AOJu0YwajI0WG9XebL1lIMzm+vUm3mErzXXNW8Y1e69X9MP/kcfWgYJ5 /0+/HbrPSsNXB38OPNkWsW5eh3C4tvA2FTyaPvRFdsE7LmIOwA4zyEBRFvhmm1bOXQimYj6d/Wl odDvW X-Gm-Gg: AfdE7cmW9o7oXrKY3uJ/OJxw73vh2bXoyfKuliRn9olj8iCVdo2WQVn0CpRIAUwNAfv bIpNOexHrPth11l+Hlz3ZDHzOFuhdegNzMkYrS4lDILhMOLtA6Jin89t63k2tB5l1ceDdl/oqBi a6MuYiwwYhKhPLwSh8QKN7CHzUw1KYhYSibIBaJ4GhnzvuFSNdqkqrRU7dT8ZSlv3SlBA38rMof Pib9airioBBjrJaI8Q+Jr3e5HCzlYiGYpwzX+gUz8s2bNqa9bbwgTv/PHsCBrEKoQ0C9NHskrwv 0WKsRuWa0MLNeTnNxHAElMov8hOLpyWvT5JGPdEyO0y+PiUozWCsD5RCHlvn9MoDY185VXJZN31 Oi6ZDEWboIT2zaqf4eS3q1ZGlRnCXbcCocwRCe21THVa8E98THeptHl91l4jIYbt4uLT5z1eBHn 4lZH998OiyC5Y6w1RlMkdoOQKB++4CrNYl7/PyP9q6/ANEiGY0WScZ28dw7lRWjpECZNV9P0iVj 0Ra X-Received: by 2002:adf:e18e:0:b0:47d:eddb:c11c with SMTP id ffacd0b85a97d-47f48863ae1mr1526022f8f.27.1784013913633; Tue, 14 Jul 2026 00:25:13 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f464a9879sm6673408f8f.22.2026.07.14.00.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:13 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Yang Shen , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 01/20] gpio: Drop unused assignment of acpi_device_id driver data Date: Tue, 14 Jul 2026 09:24:02 +0200 Message-ID: <81812a13ef9c8a27de3e1ac53e70d5807102cd6a.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1804; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=kPZuTME3boeG2MrC6mpNSfxJ8R4eFTDK/auZCtUoPjM=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzQJ3IGMw1emdWd+aW2fZ3eLXc3azZZ7yfJy661phZ83 zyzLHprJ6MxCwMjF4OsmCKLfeOaTKsqucjOtf8uwwxiZQKZwsDFKQATuW3CwbA1P3/3q0bT9gN+ /KVat5hLzmivNtl4LKGZpSDva5OneOuBlOkzBOZsCblYbWfjFbVN85jO9aufU+yVss0tpTOsU/J ev5SoeeZ+UPt4DPN8UzYtjxMMPZmCmva3//7eze/fxzujQ1D+LMOOn7OmPPjBsH3hw1syc3gtcz xPrpCPyrtxK7Ywc6L/m6go7njRGju91OMTFnkoe13ufWl9WGpS+M3FjIyb+pftWVFxW/H+pxL2c 7Jn+zSMXn0LWeDe5biSn3l5XfCWxMniUYyiMm6tEuLnPTn8StQObfBgL1aTLX61KbB03cOrL3pd p+rNaVI6d0WT/yMnR8ECNasDpfu+HJbPdr3eueOrknQtAA== X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable The drivers explicitly set the .driver_data member of struct acpi_device_id to zero without relying on that value. Drop these unused assignments. This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-hisi.c | 2 +- drivers/gpio/gpio-mlxbf3.c | 2 +- drivers/gpio/gpio-xgene.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c index 42d41cf87ac7..3b65ed4592ee 100644 --- a/drivers/gpio/gpio-hisi.c +++ b/drivers/gpio/gpio-hisi.c @@ -222,7 +222,7 @@ static void hisi_gpio_init_irq(struct hisi_gpio *hisi_g= pio) } =20 static const struct acpi_device_id hisi_gpio_acpi_match[] =3D { - {"HISI0184", 0}, + { "HISI0184" }, {} }; MODULE_DEVICE_TABLE(acpi, hisi_gpio_acpi_match); diff --git a/drivers/gpio/gpio-mlxbf3.c b/drivers/gpio/gpio-mlxbf3.c index 566326644a2c..7d747958f2bc 100644 --- a/drivers/gpio/gpio-mlxbf3.c +++ b/drivers/gpio/gpio-mlxbf3.c @@ -271,7 +271,7 @@ static void mlxbf3_gpio_shutdown(struct platform_device= *pdev) } =20 static const struct acpi_device_id mlxbf3_gpio_acpi_match[] =3D { - { "MLNXBF33", 0 }, + { "MLNXBF33" }, {} }; MODULE_DEVICE_TABLE(acpi, mlxbf3_gpio_acpi_match); diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 809668449dbe..22d22962963b 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -194,7 +194,7 @@ static const struct of_device_id xgene_gpio_of_match[] = =3D { =20 #ifdef CONFIG_ACPI static const struct acpi_device_id xgene_gpio_acpi_match[] =3D { - { "APMC0D14", 0 }, + { "APMC0D14" }, { }, }; #endif --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A0603EDE7C for ; Tue, 14 Jul 2026 07:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013918; cv=none; b=sUmcCtti57L5mBq8NYn2ugR3RFIdYSvJ20BDlP22cG3nL85bUD3HJB9jJTiPgH/LgzdltTAp5trMiN6NdkvHCEPduICMzrhv+4sJr1iJrfXPlWobBwRPUtl9fZMkSoAqfY6T8e2HDU5bJoreHdYXHjpEqauW21Vh+M5Tzjl09RA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013918; c=relaxed/simple; bh=t0FnuLNehJGLnitNhfL5kI7BpD/7c8TUeLlUxouyfKI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oXvwfDdZOKFvrmgXGHGcHVLbJ9yAOxQnieiuEg9gmKlk2BQnqrdqCYKcETD7nNivshHfh7AuaKK4xSa8bUt9VpTj7xEMwyadA+PsktZQJ7J0KQSDJX0EKr7OEuvHiBX06HxNqWJxRdFvhQUH9MaSORnqfA5mPe3zC8zPR6QRwOE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=UAUQ7ZI5; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="UAUQ7ZI5" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-47df6a5202bso2336999f8f.0 for ; Tue, 14 Jul 2026 00:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013915; x=1784618715; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=AsF+pQK0l1MLgnZK3Ab9BYMXhOyF4JRp6oQVwO0AFno=; b=UAUQ7ZI5TYy3X5/0TReAfaanjEHRlcbm0lizF6lIwe8T8ciQdiO1moE9rJqyIvjBWM 2DqL0pfA4IflY8FNxoWZDTwtranthci9Hwe3PQtrkUmtGFZtLhP/B0n7GFGVtQ23sran zpcEudbdvdEY4v9oIZZpxg1iLJVXrZJFH9sL/KTp4iJe00azel45jfw+cicFW3GpMFj4 iKvCNE1uqx5GvwZNPgrF6p7Owrsks4IydymEvNrE3WRe3ochN0KvVmbtknLi9tKCCjax vuqP1UqhmShDTEvPaXcF3dxRbR5fXIVWnrAS6CpP9PU9vzEInEeHuXcGj+Ucw5nno3El Os+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013915; x=1784618715; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=AsF+pQK0l1MLgnZK3Ab9BYMXhOyF4JRp6oQVwO0AFno=; b=q4K5iFEKrOGNf9S7lAGFBSIM4Z4XF/h/sqPl+Yodsz6++6v3py/o2iEuseSFDp4IX6 bpULaMc3v2aKS/YFscoYzzjV/TmHz3ip5z1vXaP5NFuMZnQpXmS1z7Bs0J8LpdXTx88m enPw9UbYtwzJVaEf1pbCX4ct+cRe8//tGONdxzotL43SD3dURi4V3xJ5rqL/8zgKSCOZ 6VUN19N9por3ibuaBuZ8axGS4de94OPFG8taoV+OFSjG6WD1cR7QVqiFcVb9OpShdWJL lUz/DqUdtbPx91BG4FfaGc6tOOXV81fCvbJTvnnqQE+iQTo+4T0USfRiOgTkeaSVluCz B7Tg== X-Forwarded-Encrypted: i=1; AHgh+Rrk60g6+ZQihcPvGeIYUG1otbgkCdzwD3TV4p+44TzLpVDf3RZuTF8KpxiWf7i1qGatNPigamx7ywuzJuI=@vger.kernel.org X-Gm-Message-State: AOJu0YyhzeyqqIUIpA/iylVAEsErWDLhivtqDJgPiqkV16V6fSbQ+A2i 7xwpyp2pyjSFEaqXmWQplbQi/9wkDJsIRRECu9UzjM/ZsS0TvLu6gQ3TjqVq6u/r7vmfJS0lkCe rh7zA X-Gm-Gg: AfdE7clRrRbMJ9NbGvTP6TNVzpXNnKXiZfh/OWZVF/kxgHKNy67Y2seDifc8fSSTkU9 jX7P9a/qN6w8b8dX4GPyFCa1hkzJlnDzPAR4dsf8qW65WqTaaSjA4wEyCDRIWjVaYeCbDjsf4Sx cfe8bNghvdw8w2U0b7Usu+EYwH6Q2pS/fGCSiekvhyWuHOxSBMWrkkzf40+lhrjgFBLtjsRfu5M w6+F720iUyk3bcPWCb7hrzed9MhBpoKK3ID3luHXKC792RmjeudtqiAvyHpdmUJYuc6Qp97xkSI ZP5CnVGkPqeAgl6X92pchBxTyiYoZ/UWfhjAi3wZbW2S/stDI0iSW6vmn3v7SHyYpRd6Y55SmDP T8akV3dsPq7k6uyEwXNaB4NxF8k2imJBh68S7jK+4+/0ck+8lY//OhHkxnd5XAydR96kaCfUnJS CSXcyoQI2AG4Qt6gbxa0BI9lxojJ+GKPJbn4FEI/sR5KSL/74aLSznqJOTeE+hrXO0tZrKM1CPK AnA X-Received: by 2002:a05:6000:1841:b0:46e:230f:d095 with SMTP id ffacd0b85a97d-47f2dca8281mr14998251f8f.7.1784013915407; Tue, 14 Jul 2026 00:25:15 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f464a9879sm6673623f8f.22.2026.07.14.00.25.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:15 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 02/20] gpio: max7301: Drop unused assignment of spi_device_id driver data Date: Tue, 14 Jul 2026 09:24:03 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=857; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=t0FnuLNehJGLnitNhfL5kI7BpD/7c8TUeLlUxouyfKI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQhR/93j89H4dOm1wP6sWTX7XEeT8fh7G5BA +U7F4xZZEaJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkIQAKCRCPgPtYfRL+ TnC6B/95gT2d9jorajCE2ZfxN7npA4GAB+Hw+tJ+rdLtAWw9JXZv825dno3OK7wVTVb2R5MSJq2 GQ9ej/cdkokb0eyKiZJfrGwpn6t00EOtpRMXWt7RK+MDaA5WxJKBjmaAbXdxXyx2QRaM7f61Z4V WX7flE+U1OuFyGC3GABmJm7M4lwjP2uqEaMPsbdV/LnIYyF+Ggekb3Spzc8Soc2f/h/3yjxZ8+v 758Te3zOe7abPXid8Bzk/H4d8WwJWDEgtXFUyYkFonzthVibMvaJL/lzuEHndhQ4WmvRBb/O9PO PzNboHYGA2YnU5cneOunIDNX7wWV2/qJA1qDbDJm5U2ROJGP X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable The driver explicitly sets the .driver_data member of struct acpi_device_id to zero without relying on that value. Drop this unused assignment. This patch doesn't modify the compiled array, only its representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-max7301.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c index 11813f41d460..c8bf6a9c3de0 100644 --- a/drivers/gpio/gpio-max7301.c +++ b/drivers/gpio/gpio-max7301.c @@ -70,7 +70,7 @@ static void max7301_remove(struct spi_device *spi) } =20 static const struct spi_device_id max7301_id[] =3D { - { "max7301", 0 }, + { "max7301" }, { } }; MODULE_DEVICE_TABLE(spi, max7301_id); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE86A3EF0A0 for ; Tue, 14 Jul 2026 07:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013921; cv=none; b=lG0jw+pHzOgH3265WYA3fKT22nWEPSBokFZm+4sohgosA+UwDZiW+bFpdaYsfw54eEEO/8zTsARJaAOCsz1PYE7PypieFkms8Rj/+7QkTeRNDimKuHnX6INApiXQISsASckHWzyEf1dcfPsBE/9hkMIpvcpDLy/itGFtdp90l0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013921; c=relaxed/simple; bh=zNudPnZfpECzuygYS5dd/9YFmWl70aaN+xMCCcjfptM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LhF+fFIOTV+tjz0Hvte0ucIhPcDCgr/5qE8J0YARARD84AsI1LJY3Ge6jlvzQ+0K3dZloMV4DgY5rXVCAIIfuN+DBiwfC67/fbSbpoxEI0IcrgWGYCstdv+RSSp3M2SqNPJ23RT/M89VxEPRmdY41l2dUOjbXiIGeqG5622bqBk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=a/gLvsUS; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="a/gLvsUS" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-493b7612475so30929415e9.3 for ; Tue, 14 Jul 2026 00:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013918; x=1784618718; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=2djTFedTjPysCreoUk6vChsb1jrTfwtD6lTerjagjV0=; b=a/gLvsUSd/my59gzZbOn7fvWcKIR3SxXE9riJaQdFgUygoEFApnmRueTtZZ1KkX430 tIkUmM9QD+ZlzO7NfI2Sxlha55AbJeoVGjY3naV6KBIUUhMrKro8HSjM9xCG+hbx6jlg Oi7fEnUSe/9586WIKYMOF+CxwyIwNz/pUON5D4xrCPyUjlz/NcfqxqxUabLtP96KtouI aVIgLut//VpK57uodWvP1nHrk/fbeONX0T/l6fSSsSyGKO8UbviTAhD7H0wiEgK80CFS ZVEVT/aFzV6sR9vGeWYSkmEqP5Sk4QvYLI0CdS0nCKM9NuiAF309iafNw7ELmMHpAUeu KM2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013918; x=1784618718; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=2djTFedTjPysCreoUk6vChsb1jrTfwtD6lTerjagjV0=; b=goLbaY8Iflg3JiWk5QyfdOadatI3Yb6vdSF6htn7FgtNjKNdFtAwHWMz7VpZQBlqKL cc7/4sw+AzwyBsYIJD5cTTasdw7M5qmhsxtH8j3ZpPdnKh12RmTuvRSUP3+kbjCoSsur ucMi/YupH0lJxE3V7M40BxZyIfv7csKgugm3Q7jHK7CblI73mByAe9VKGvABIEohI9b1 A/im//3Cedzl3CL5OWAqEVK3DDcQhSd6jqho+LnqZEeNLPpFByP8nQHkBbEe//jTW2TA FP+nqD5rl3dunCoqv1+G32l/VZGAGjeI4RLRNAitWEgcV4AgIXILfn3DKW2EU+10eMe0 +GYg== X-Forwarded-Encrypted: i=1; AHgh+RrdW0V6rYdTudito3nVdK2Qvp8xUug/psveS8br4e7pNIuZgxekrvvbtWAvvtprMuKRcW2cSi6Z86fhE9o=@vger.kernel.org X-Gm-Message-State: AOJu0Yz3CELuqUZy2oKiDyb/EHp1FY8bFLQVprxgLD8DUjD3bY3TvgZO baaoxKubiAnF4G9/2h8p8VJgBm+tChZqB7IDm1y4xuWIH7p/0VmNtLenD4+wi+YgpHg= X-Gm-Gg: AfdE7ckTGor8aCrhW66192x0ScGIwfovocPDMXtr7MN5Q6aiQH8p82Ve6TuQ+7y9b8j Ze7y5VN9fXrHX6XHoEh2tvzMEp6D/K3cw32VcQqLcion/TiWP/OjPW1jkRzbb2S4n513hMYGHgv mcd1BTjNoTMS9R4vZeYjV+CGE/mTGQjCuifi9dgj+EOPm0IIGzicDNI8uNeTv/u+kdQgTov15i+ NE0xRAiKabi/yR6LD5ITAommD/o+ju40d1AV6HC2w+IODAHOMvWLt2axSpfxHbem0BcPy3Sxj23 HprWD5vg3RPFzHMirLdLjfNIN0hgagFyHwpAOxDjDa58G/fQRapCFu4dYSVhjbX5yOpbf9HIl5e Dm29lVf/BxnIvdxzzaLaz/ce/6eM7az2dQA/8mPSdH6Wib0s831TjxPqAiHdSkAmAtN4BwI/MYj 6pTaFLSKleMte9QJSeGSV3ZeK6aIeMjeSOs7ixXknDjShgMSS8epN5XnCY5mtqehZI7Q3m4vMMW Jkx X-Received: by 2002:a05:600c:c04b:10b0:495:21e7:fd53 with SMTP id 5b1f17b1804b1-49521e7fd96mr17309375e9.18.1784013918023; Tue, 14 Jul 2026 00:25:18 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-495086ca93esm54134645e9.0.2026.07.14.00.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:17 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 03/20] gpio: mmio: Drop unused assignment of platform_device_id driver data Date: Tue, 14 Jul 2026 09:24:04 +0200 Message-ID: <8faa34e82a46ed01bd59829e590121e95614f821.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=887; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=zNudPnZfpECzuygYS5dd/9YFmWl70aaN+xMCCcjfptM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQjht25zpssLO+5PH4ggjbFRdVQ/CngLHL6g UDpwC2g7LyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkIwAKCRCPgPtYfRL+ TmLdCACUss6Lv2o5wFHtLbfr1eTNC2rgMJ5XWOHmgizZ2+bQO6ifq+3ZQAQ4myhrJa1t3yDSzvS eQurBbhz0QBdxn6UG2BvmvsJNWbZFz7FxSvMrl/Watkz+IC5J53k3Xa1zkowBK17hMSAGSUIXF7 JWf+dfhU4dPMPIr43ojqjWROSSSe2Nc3WwRVwWoU38BzlNWH0RVd50gRCAX4vIMoBwZK+AcPFK5 CA4f2+YXPJtPFep2tb5C7Ow47/HpS1PLgOH+8aHuZqLs7JGY1xj+68QKxV+26dYjpwqbjG791iA WmGRoUo8XFsBVrqNoa98YAhy+6R4Zp5mNt3zUMDcudXjm1oo X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable The driver explicitly sets the .driver_data member of struct platform_device_id to zero without relying on that value. Drop this unused assignment. This patch doesn't modify the compiled array, only its representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-mmio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-mmio.c b/drivers/gpio/gpio-mmio.c index e9c531eef452..6928241c1d19 100644 --- a/drivers/gpio/gpio-mmio.c +++ b/drivers/gpio/gpio-mmio.c @@ -813,8 +813,7 @@ static int gpio_mmio_pdev_probe(struct platform_device = *pdev) =20 static const struct platform_device_id gpio_mmio_id_table[] =3D { { - .name =3D "basic-mmio-gpio", - .driver_data =3D 0, + .name =3D "basic-mmio-gpio", }, { } }; --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31CE03EFD1F for ; Tue, 14 Jul 2026 07:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013922; cv=none; b=l77/dz4HweenvWzc4+SOzyEROJSX/1QINDZAYPkHebb5Hgj1N6rlkHSkwFHc+83QD6gqPPtKvtWsQb4NJ5h5+JL55+kPLXfBvgWX7jn8jCO/iOtn49n1NRMyrGyHvUJWJWtwR5jAiAW6YYGkfbeJNWUd+9KehqZqXi8MXqgrpPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013922; c=relaxed/simple; bh=1YHDAZL/VKIOuAUSWre+dm6O+suVLC6nUaloUPB/U18=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=isV49eHzFBlOp3SF5goKX1kCkAOH0Jni5fGnsJdLRgpY5xNRWwo2yDs0wXoNJS8O4qiKvqxgLDU3JS/ba5X8SgWwutgEQ1GKvvcdVF4wIE2y5z9N8w1WPNx7Emo30GnogVNOewxdzJ35Zw/B4qCqbzmJ1hSbY4F3C9nkc75DiHg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=QhQPjIXi; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="QhQPjIXi" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-493c7902f47so35610385e9.1 for ; Tue, 14 Jul 2026 00:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013920; x=1784618720; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=rJpUBI9vLGJhYFZarTj4HNRi3GoxbMQwRbE69cVXqNc=; b=QhQPjIXi+s4mAcc1McYVjAaWNXeQ5vRr/L9gEfca5H9ftCUS8oI4O/+x10gTpJ45v7 3lQLApz3bcGlRGSOV8LfCTlJ8Oopv4qenqrkCkQgvu+w/EvnyWHhMLdLlrixdPOmI5fx iCvYQfF8QGk6LHnd1sOrI1hREkrU70e8qEfIFMnZMpD2neA3yYW6mwl+X7NbTsTEY44u 2xaJBAutE+/vIctKbYY6oKDj7v/SsZP+/T1u9qijoIGfsM9LS4q21snbTr2LuPTmpnQq uyNLjVEHhPRgyaCa1RRxJ8C/onGoW+c5kCnfP+XHp4ke2R26srK/QkrkNu+quGDZ9FLh q4UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013920; x=1784618720; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=rJpUBI9vLGJhYFZarTj4HNRi3GoxbMQwRbE69cVXqNc=; b=qI+CF0m9b7q0PxnR/tDweNbVUcUwIbcDRSV1/pgUX6nwzITomLO1s/+gPXFIOMgFwg +LYvyoT72Gvh+sM7agBTKYQf6jcwKQHEMf/FM/i7PakGVmCUvQ9Rah/TdnNoHuC7XrjA doMtShMfxtAwzbZiChYyf4u6p68teiodTkIqZ4lbExXR5GKyYVWu4GsHtpA1c4blBPGm Z3qLm0Q2nyK6acqkA3Ml2VNSIfF8JaddI90F5JGWDLFiOSKqklX0iKkxSYRk1FYBWkuN V+Q89crJ++az0VpvvWsZ6hRzMUHIf30V8BvW/0JcjBehiLFcn1dIFohWQMg8IVSMHugO bX8Q== X-Forwarded-Encrypted: i=1; AHgh+Rr5CIK/NS8M8Vrn7GI6wdnsOfN6CU2TJpkxop3NUbTUTS9XKCEB69V5cl6AC5sEoyNapzcmo0mfmbF5pdA=@vger.kernel.org X-Gm-Message-State: AOJu0YyK2tLFCXeqy/DR18MkOWqkmpPnR4aOKwHcL2kkhbegfUPgn4uu 1ezwkpGAFqkc2YG/tOpNkcfsCEmdzcRcRWZFiFExjn25jSxazt5FljRYZbhMmqX1qd8= X-Gm-Gg: AfdE7cnSZ2iBTReLSWjnmYJZs3yPrGF48zjGm5l6kM+Z5zM2IKs+lkgdqETI/csMoxB F5IIWYagTQMCvvhwnBkkjMemJBrWOGdLglhf6Sf5mDHQ6S6NviPQYszyvkQMQNmCvx4wF4qNui8 pStj9UzzI1uP/dcfYIoudJFHkv6Nq2SCSY/BDPBSByElxhfgEhhQ3sZnULm1/r3qit0ACZzwS8W zTxc6J553hFq4nCjy+ZoD4C6VJ3A0+Ijz03kdNqL6Ca0mgCUF9xCDf81XmDNhu9nFB9xjjB+xx/ xx+1uHuY5HJjCvtGn9JWn1hu34Q0Z0aeeoLpszVtM4hdgMJXo+qvCGz019Zd7OjeXV74wKwSZOi uoHRvLVTf/J7lVAV/W4qTtLtAq65JYydxFb14Ditdo2QsTKFtQT/KC11Um+5qlsQDKhdmulSAOc Fm6E2mi2xvx6mOze77z6gXFJfm00Le6PsKBVmQOWqxewWBq/tojdz3IW/fXEsYqrQRJyTZqtcyC ooR X-Received: by 2002:a05:600c:a08e:b0:492:6f9b:572e with SMTP id 5b1f17b1804b1-493f883aa3cmr118959835e9.37.1784013919577; Tue, 14 Jul 2026 00:25:19 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a32b9f3sm63312615e9.13.2026.07.14.00.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:19 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Lixu Zhang , Sakari Ailus , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 04/20] gpio: ljca: Drop unused assignment of auxiliary_device_id driver data Date: Tue, 14 Jul 2026 09:24:05 +0200 Message-ID: <0ae42630bcf5e07ad7db5568f3e87a8196f69c84.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=926; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=1YHDAZL/VKIOuAUSWre+dm6O+suVLC6nUaloUPB/U18=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQlgeqnk8+qFCArTmdQxI8OiqhrzkpIRfvZs hemNloK6jWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkJQAKCRCPgPtYfRL+ Tl1yB/4n7A0CN7V5OrIc5Zs+zq9bnil08U+YW52nSbwE73T8WsCNiqhZV2VMYRawtAOqsecFxc+ G3Hh5YF1l/vVOPN1aWmpx4ugwuLLHVmDSgjwJKa8F5j554C2jD1UzlWeKkqRzMQrnMswnGFK/nQ jVVlD8F9GPR4ijy9YpSJUrJJGXyZz3fDYtAwK7HomurhXW0vsGesgACjNRDlXr2xVFC29SwRUYY 5xiyRgAINx8VvfsaYxcHZxO0QExMkGFwcTCgX9GGRZ0zohThGez2n57zvTMoBrmd+VA0yl0roXK gDtQp1yD1L0L/WHFtBD0jO9fmCDWrhBRYZjBX+8WrXkr9kz/ X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable The driver explicitly sets the .driver_data member of struct auxiliary_device_id to zero without relying on that value. Drop this unused assignment. This patch doesn't modify the compiled array, only its representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Acked-by: Sakari Ailus --- drivers/gpio/gpio-ljca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ljca.c b/drivers/gpio/gpio-ljca.c index f32d1d237795..ad5dc9a3a119 100644 --- a/drivers/gpio/gpio-ljca.c +++ b/drivers/gpio/gpio-ljca.c @@ -472,7 +472,7 @@ static void ljca_gpio_remove(struct auxiliary_device *a= uxdev) } =20 static const struct auxiliary_device_id ljca_gpio_id_table[] =3D { - { "usb_ljca.ljca-gpio", 0 }, + { "usb_ljca.ljca-gpio" }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(auxiliary, ljca_gpio_id_table); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE3E33EE1C0 for ; Tue, 14 Jul 2026 07:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013924; cv=none; b=Ngi9ntcW2nSOME6+rLlUT5WdOoFYP2sVdZamZLewf/9tF5vrh1zRSd2GsK56rDeIKrthHxc87Kn8LkP9o9aurznsmB+RqpD1yzUl9QVbIjuf2HOwqtshRk0FbKydpb46AUuuWPSB0equ+Ylie5IRtCYW4gslUR02ycwOz5HE6v0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013924; c=relaxed/simple; bh=376ZZD+wPhduikubZ0bZXKk01b1uwRuv+srymK/ZiA4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eeWenNBAMmaSsyRz0qsoWZWVnbVePnUwLrVatz1NwnvLbBYxCt/BiP/nOaG9C0USLv6DrSd72un2beC/wMLGy+q3ws/CHq11TxKQDxIvfE/bXKbakXgqcMFHt8QRy89hh00Gok+BqvXwC8HXdfGJ++oBmtN4aVgpGuBXaxecsD8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=IGRQ8DCy; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="IGRQ8DCy" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-493e4cccd8dso3058155e9.2 for ; Tue, 14 Jul 2026 00:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013921; x=1784618721; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=D6nnvVJiFQQaLxlKEaOiAKRWl9WrJpxkHSZHxL5UxXc=; b=IGRQ8DCydTp+oCbLkl48BlfAhzFDUPoXjukHZY1bFNQ6/+ji9QaF2oPIos9EQInUD7 qqsg7HMcWylVN2lvtidBr2C2TI5lAffqKUUUjA+stq1zK0yp2qIQOmjS/0/AP9l2oAt0 k0ufTKh8UqVMAqqCl/IUe+QGdmcIHoaYGSfHvq5xXmQQaqE7GjUAHA561K9oGQ+Tvgfj jDx0jrQl/akqcwJDLLuPLGhErs4AyI3dK7eT1rAYNF1rUZiTQm7EHQGBb9p1lsZ6LOw5 CHvrrCirmnPPf8/dT5HjUxdEGPlrQ4NbDfrXmvWekhtIZssPiNsSIEcrF/igPi3rFEaO UVQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013921; x=1784618721; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=D6nnvVJiFQQaLxlKEaOiAKRWl9WrJpxkHSZHxL5UxXc=; b=hWwfDcSnRHp3g1jG5SJNCwhsARTKbS1I9z9CI3cBzRoz1vjTnyFFHMmJqgjq0l+TdG CITK/tpbpNAwKjDZNpdlkIVj6ljFrpjYscW+BFDX3sa1bDkPxzB+zlISsXGWVHoQg+ER 7+5TbdqBukFjxCRl55tmxDX9xKp3Pxl0wGHfqZ6iFMCfR6qMolByCWAPSyD4v6d/zPhU ImPcZTElOR95uPDRSVtnFxNbO06mCvCHIS9K6w1tTecRmP8FpmngTTLe+Y03qCKR2d/s CmhSpLuOpv9kcWH9gPGopbMz0X6AeBRyVMV7CLr+n2/1TnghVZEaxU/s5OI+FezmU21s rKRQ== X-Forwarded-Encrypted: i=1; AHgh+Rqe4HHiPWFJyxvBt7Fer/CAQxYOTxfH5Ew4tBHn6FoAscJM4wDV8YiFEQ7mY5HucMzo2CTRehjrLKaEnhU=@vger.kernel.org X-Gm-Message-State: AOJu0YzJvoMRcdZnGl6b0ys4tFT/os64MGQTC0/0NHmbHyGQ9JNCfWuF gmQSHJrNGgw3mM15XxbHN+2Mn7la3ykpzwSqCpKm6cr4M+MDLWGFlsYGrIo3lOwmA9E= X-Gm-Gg: AfdE7cnvVdBpsTCelAqNrA90cNYXps41Nkfj+7TE2h/HtJBp4PHT0H+GJ5zsFeZBleF ExnxRzwJuWugjRrtjtu+08czk2/8FgHJLxCsPA7AR0UQRVNSxMgVzf3XzCVmnkM+merxIkeFlB2 0vTOFRbbzK6ShMNy50p+Y32woSYiB3DzF8IAiYqXurjMTw7qZ84m6pAgKKkM9mMR0lU1vQSlLGi MnYEtx7RKn6X6Nn0zolP9aPlagu+7HrjgWFdXGCTqzWCWFh0+3zeiVkig7ZwheLRZ8cjTH/YU5g kI6g84WLAvM8PGYt1806TMVBp5+DcZAtGRb42WetSPWeLNBzEGBjQua7KazXSTFS8o8w7yDS+Pk yw4+e7DqiMa5udBguB2PlzRwatox8LcT6N4RLuYJu7EcWH3PNvcsVCZV6b9sgNOmOc68Jtxvch1 gghD4NmUSB1mED4WvUc9wOjnMCQYUyC9CdjExpLda2C/zrExBcjHYJZ3oKrK9Mw88yUy97uJncG pDc X-Received: by 2002:a05:600c:828c:b0:493:b8dd:9d68 with SMTP id 5b1f17b1804b1-493f87e6c8dmr120216495e9.10.1784013921419; Tue, 14 Jul 2026 00:25:21 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-49508728019sm50216125e9.5.2026.07.14.00.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:21 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Israel Cepeda , Hans de Goede , Sakari Ailus , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 05/20] gpio: Add missing ACPI module annotations Date: Tue, 14 Jul 2026 09:24:06 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1299; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=376ZZD+wPhduikubZ0bZXKk01b1uwRuv+srymK/ZiA4=; b=owEBbAGT/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQolzbdXWVqxfSy9EoF6PpCJK2n4VIKpVC25 hesf/ktSLeJATIEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkKAAKCRCPgPtYfRL+ TshbB/iW2OpBKyDciFbZVKISCy+u1WlLs6Rk5Ixdj6rcUZ6TeHSGTya/iyxP1xTX/1rUpSr3YN5 1K1liGV0gvypRgEeEbc4g3LZKPgm6G1BgLdo7V9xUtpckMlgN47BNPjmDPUVQ0r1Hkhz8pmUEms ikpQwIuirjtuqow6JChGAdhgrO4UuLBu6nUNBaVK2oLxVe5DDOdC8JvD4FMCHaM62zmJ1LoLlNs dPXS4OI3aDwKQW+QcFBc0gtBWRTP3zBNSwyxl1N4E9tVYyEHe5BHabZ89MgMPQcN27JAdKB1pq7 g1qta5UEcPSLEd8HqTFhygWbfp9Vud+cbA2DLRadSGnXZ0A= X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A driver module matching devices using an ACPI device id table is supposed to declare that in the module's metadata. Add this information for two drivers that failed to declare these. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-usbio.c | 1 + drivers/gpio/gpio-xgene.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-usbio.c b/drivers/gpio/gpio-usbio.c index 489c8ac6299e..614523d461fe 100644 --- a/drivers/gpio/gpio-usbio.c +++ b/drivers/gpio/gpio-usbio.c @@ -34,6 +34,7 @@ static const struct acpi_device_id usbio_gpio_acpi_hids[]= =3D { { "INTC1116" }, /* NVL */ { } }; +MODULE_DEVICE_TABLE(acpi, usbio_gpio_acpi_hids); =20 static void usbio_gpio_get_bank_and_pin(struct gpio_chip *gc, unsigned int= offset, struct usbio_gpio_bank **bank_ret, diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 22d22962963b..ad0f1551c271 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -197,6 +197,7 @@ static const struct acpi_device_id xgene_gpio_acpi_matc= h[] =3D { { "APMC0D14" }, { }, }; +MODULE_DEVICE_TABLE(acpi, xgene_gpio_acpi_match); #endif =20 static struct platform_driver xgene_gpio_driver =3D { --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB5673F0AA6 for ; Tue, 14 Jul 2026 07:25:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013927; cv=none; b=FyfIzaS9pgyJgN7jPRmoSCAKEwg7libdHkj0siJPSnpfmoe6x6sqhtXioWf/tzQUYOzcm2VfEXlJttvFB+qf4NqVrex5imfFbL2Dxorv15cRyflxMqNKugfSmKGQ62VSOQFYqoGzkmRNvuJOfbzNAaLDilbcPpAVh+eYhf/BNcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013927; c=relaxed/simple; bh=3GSX3GnHmK01SUgMhp5mSJb1XUqdNhgrTqTf6s0Vwjs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ga3uYm0WOYH+Emai+EhGMjzwJ0dasQE94iJpOhLk+I0IP3UoHRnxxbo0N/R6CgyUSH0QnPOomTtkf+AP8KWtTnihYHHnCWMHCw9tCZjeBX0Tn5//dEdg4Qg6eZcEA9GHBVkltG/AmYypucyZ32zRCFPMJ9wpSN4lU1hmOMN6tBM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=pF0a2q5o; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="pF0a2q5o" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-476d8e647e9so3944975f8f.0 for ; Tue, 14 Jul 2026 00:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013923; x=1784618723; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=PxaYbEFmHu2AR+niKRHTaCaFiPgrKuCC0sk+h7potI4=; b=pF0a2q5oBBKurWQZxcV2OtvXFkbb7P9qtJ4GUIBjP2mxU2rS/36ocWbchoRffEeV9d 6lHPHPVcpi/F6ezRg6c/4WBIZWpaEho++g9JuxMOoWYHqXNKbSkaNthP63JvuwL8lrKJ o/6HGeLKfU0+m7k13nsyI3VrOzNYi1DtflvztAWjdmH7s0MBajDrpTTQDTqwGCK3fznP XLfx5ZUkbUcwp7RMvKh8tlDlId0cge6spIJaqtV3tFbwNYC5MU5zSm4BljikWASCq6qw i+47eyjnCPcQAB1LsCZ/uEw97lvFgXfyZ8CzNYuUyCCxPQoDcmKbVyd7KHgHcMXG1ema o7AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013923; x=1784618723; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=PxaYbEFmHu2AR+niKRHTaCaFiPgrKuCC0sk+h7potI4=; b=oXbSk1Li2nJEy/qZEgyOg+3nZVnE6bDSMF0OdwB/AwSkVRbZYfxJhJv0gTz1KoBBGy nuAJMUY8pYGqDGWtFgtWTYAFVEf0Bh7tT8O4Zs2tG6Mu6LRnhCVkeamB1sylwWCCKUdj 6qDyzM4o2UvQrgHLt61f9PFczRlLX3fuRa2ZRdFzE5ZLzzXxaTxzzZ5bHCPeA/8K0L5y yyGSraL/dloIN9nN3lm1fVSMjukjrbw9WP6xABPTX7UJF3V3tzpJTAGO8a5ZVjSzvnc0 kRJM4aOgxgy2Snv9ROqvuxjEODL7EeK710jzL+jF+ygb/RlXIZHDdDivInOR0rw5oAgN 0CvA== X-Forwarded-Encrypted: i=1; AHgh+RpGKxCAplOOALNO247H3Ce1tqtcR82gRG3CEc6Kb/PEGgz4ZEv/BJ8ZZrFvZd5A0KZ8W104guDscU206eI=@vger.kernel.org X-Gm-Message-State: AOJu0YxGJpuZzIXDIIlyWATi4ppmXUAfdv26ljrsaKHwJau67XVlClA3 vg8apzd2sih1cZOS5UoQx3i0TYnMioKm9mq0J+9etX3q8I+I0ZOH3HkibFECzOH+zNw= X-Gm-Gg: AfdE7ckk7nDbq4QDoiCo5WexHdQwPFziDWJdICWC4FlDmbL2XbRfB12hmclop4c55Vd 0z1zALBNdc4CNFWclBy5/+jo/vD//VDoreKuhoPXDO1bXxqRpfdXn58U7gwJkkgVzRe5N/WFYVy Y8Xu9Y6aJ9bHMWdvd+huxGmT9F6ImbEZHrG+k6q7G84SMrfF2/mHC+vARIXY2urJFb4qLJMYAJC q2Zw7hwpKWlZUPc/bSWum1RaqHcn1neZJPU4+tNYvzHHEch3dXiRN2YH5K5xaCe71FYv9Xwiywj 7YFcPKjuGTLG6+aelxTKRzpeW2cnTiqrn5PxdedBE5Rln7ue3wYeOM00KarLITJcLcHPxXRFoi0 QRSXArZe0oPKpiRjYWYZQULv+9LuRdFwQYwplKEpOw1gBg6uFqSjaidDv7u14a/fWfGLH0AxeXw 3WkxAKHzy2emtS1XSqDuUAo2DwsE2kjTrRNZb7eX0uPxdlcmUtSdPQ9jQBpH97SPOLyN10Irv7S u7d X-Received: by 2002:a05:6000:288d:b0:46e:8226:96b1 with SMTP id ffacd0b85a97d-47f4889c487mr1427341f8f.42.1784013923039; Tue, 14 Jul 2026 00:25:23 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634e036sm6958617f8f.5.2026.07.14.00.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:22 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 06/20] gpio: sodaville: Add missing pci module annotations Date: Tue, 14 Jul 2026 09:24:07 +0200 Message-ID: <40ab40117c9df840de84ccf0365044cf4f87d37d.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=817; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=3GSX3GnHmK01SUgMhp5mSJb1XUqdNhgrTqTf6s0Vwjs=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzQJ1p2N/svquq38OlsUFSrvfVa7Pmm1z8VqgTVtxrZT 24+pxLdyWjMwsDIxSArpshi37gm06pKLrJz7b/LMINYmUCmMHBxCsBErDPZ/yfZBWY4WbtrKUxa mdEzJX7eo58Wpr8YxdVmV8hIKnsGlLssTg6SVxOK7gqTuPv/2YVty6uXu79ml7/kPH/9Wz41L72 QMq6C09Frq9j9hHTeWkWd0rhoGcfDE3VSnjFwj+lU+3dzu+8suDW94DWP9HffP4vXcR/stiqydD a/tDJlaeqcKRouRSkJJc0T7J5yt+zZ+tBgx7L3WcmslxRftlUe+dfwM1d9ztIpVouW+an53pbL7 5//97iCTYwN9w69uL4pbstWZF8/o85uJmi/75qzQnqwmUCS9Z90v1UG/22VVwlbSJVavbC2P3ny 9Mp/X1g5Pv4wtr6QaRRgZ3Ds/Lad5xf1rRe5xjD7El8RAA== X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A driver module matching devices using a pci device id table is supposed to declare that in the module's metadata. Add this information to the sodaville driver. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Reviewed-by: Andy Shevchenko --- drivers/gpio/gpio-sodaville.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c index 37c133837729..9f4cd23c872f 100644 --- a/drivers/gpio/gpio-sodaville.c +++ b/drivers/gpio/gpio-sodaville.c @@ -241,6 +241,7 @@ static const struct pci_device_id sdv_gpio_pci_ids[] = =3D { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_SDV_GPIO) }, { 0, }, }; +MODULE_DEVICE_TABLE(pci, sdv_gpio_pci_ids); =20 static struct pci_driver sdv_gpio_driver =3D { .driver =3D { --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5491C3F1AA2 for ; Tue, 14 Jul 2026 07:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013929; cv=none; b=Q48Wa54dRF9dhf4rb8EK5cmfbzsTP7UVdbh4g+5uhZ6WIk7ROKSJCAeDjKOnWurR1d2FTCRLH6iCw47POGTKRYgwrLmcPaxAy3W2PQ7M0bl7fG/uUDfogS2dSbrGSpGg+/AsyMnSyYoYRp3kj98xr+uj9KQTqnEiTZAjkn0f31o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013929; c=relaxed/simple; bh=CDGAuQBKSj+BrB4Chx7JpJWWpT/fi/gZCktZN8OyWzM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E1BNXTvgJlN+SLVd3CaeOFMX1rckGjWc9aQzb6ds9DWtL1TJxzTHglVkE08D4V+Ed83gfs4vYxpo1SYkc/nVnu0bFw318+zrSRzf4AwZiQjYlPwGj/aybMYv8z3nU/0sNs2Ei3gsw3wD8OhOBnb6TnOIDgNqoakWgUPgfmFNdRo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=aGBJqEQy; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="aGBJqEQy" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-493f25d47dcso4563615e9.1 for ; Tue, 14 Jul 2026 00:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013925; x=1784618725; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=rhOhCok8KJZwb9BgUeO86PYIaljD8639HNhjhemVwqQ=; b=aGBJqEQy8G+XSRYbFNS9IUjz4mwkCvqhiwJcA+IUtsZ4rVUrU4Hx+hVKQB7/EiNCOD vpf6ktld323CPz23XgHJcNBRadvOukgMp1KRZVN2f5bke7Kq8fOB8a4iAdf1eocJBy4n n0zf5Mg8rExsMzSUEm96TG5veMols7SzzsRDTqcJJLW4Ec7jFt7sRDfBe3GsYs8+3YLL oTaN898c95At6ZpCq+0IYGnGxsG1Oxeb4EE1jgiydLhaOgRIcsS2pWKNyJnuFFkbYVUy d1iZttvKcc+Ssg/G4QYpc2UvPQZnEd4JSJcjCPEVDd1Ng+IcSXcnuFuSANWX1bNo8tLi hT0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013925; x=1784618725; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=rhOhCok8KJZwb9BgUeO86PYIaljD8639HNhjhemVwqQ=; b=XRbstbp8cD6rpSxAkYHaopCorT/1xT1XCKq0LyJhqyCrpkeBDoaUmQIvUtpmlL93kz uBQFMuNRm4lWwRONi7W7rMBpaNG9fHzY82k8/pceS6IdCzmkblnT3UVoRxdzPsf4xuuc Wpwt1+Qa+UI1LXS799jl8VFQOxp0LrJhp7RH9rjsmX3Wdt+eAYyhVKHk2G819bDPdftr np+CO4EFYloATyX6TeTQsWrjclbGacboQHWs6YZsQqwUjUNQWwmdoai0h/a4tNPP84lt uAir6BkzkWWa2ECkd0uPIoQNN6n9UkpjtUEuUmYdui+3EaFB7kp9YectEeUNEr8d06Je kujg== X-Forwarded-Encrypted: i=1; AHgh+Ro6Qe4LVlz90dr6jOYxf7GrMSu33AfsfvoJuxaicusCbiHnqEFYtinCSVLQBEfRUDDbBA62TZEKfGpfeJ8=@vger.kernel.org X-Gm-Message-State: AOJu0Ywga9YFR9OruhIMQllEqOEC+RW7esDF77dTCQu2k8aDxyNz+tqo b65+NlQFhY8ZxSLuTj4PPJZ4YLGG5Bd4XP4lICXDtzXdqUWfaSxo6fHpWto4tgwndzA= X-Gm-Gg: AfdE7cmP/3iyKcVWwQ81/4cKqCQGrhC9XAI2fEVhwRhQtP9m7vMq0Rd6UO9n43rslvO gWwedN8sJAUE9ayDoaunma/5VkbiFX1KMiRzm35e8lQGeRuJKEQjrTRPcP7Uk+YXHQObYZk5sXG 4d7xnxzBXTI9me1lyufJ+MVbFTNbOhZpMqcRG8uSHwkAYtOE/tunEQbyKcq+QOo7h2P5+vdmBte 4CGWaqBPN0OqdQHtSE5lPdYpff6CxI97Jyq8XOCsc3gB9F1neQunZ/pD1INkj0SnO7mcMfyz977 dVUmtfUSsXictk+hmvVMsSqD5hkwA5MJ844Y50JHjF0i3FO7Svg182DcUzUULwPNNMEaybJ4PC8 EPUpb1SEnw9Gj05zvdqMdsmxMq4UY1RSwwcNdybjFbjB/TwoEd9pdmqM9nyQ8WHPFrlLrHkXiPf K3/YeRgk55FnWg7dBReFr6ctDfgtmV92KWrUsF+jkSmjSSabPXj1f0Bkfj7uwOevW6WhV7GyvY+ Sep X-Received: by 2002:a7b:c8c2:0:b0:492:7084:32af with SMTP id 5b1f17b1804b1-493f881d21amr86423645e9.23.1784013924640; Tue, 14 Jul 2026 00:25:24 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-495087366c0sm103235765e9.7.2026.07.14.00.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:24 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Ray Jui , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , Eugeniy Paltsev , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Imre Kaloz , Conor Dooley , Daire McNamara , Daniel Palmer , Romain Perier , Robert Jarzmik , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org Subject: [PATCH v1 07/20] gpio: Add missing OF module annotations Date: Tue, 14 Jul 2026 09:24:08 +0200 Message-ID: <72f0871dda4d65bb2b6ff8827da6a3b2dfdffab6.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=7966; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=CDGAuQBKSj+BrB4Chx7JpJWWpT/fi/gZCktZN8OyWzM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQtZBG3VoLsNGEM1WAVoDRQJe9lrJ9gvcxPZ gNTfJ1jAPGJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkLQAKCRCPgPtYfRL+ TgMbB/4rie8AAVjE+9LOBTvioLXnQVEo9hTPWj1xE7RqDMNfxin0t6bySsXa5qWUhjitNHFDiPt Hw/QBE2RF9KaANja6Bt5K40JAWoWG9PVGIOnYn+1cI70JnLfG57TJ2Jt5b3uEn4pgL3sUA6xa2f tyVPKwY5yQdCIOVAsVfccq4ydbNJ4Lz0Tevg8VH7xQYmnXIRBpzYt9uCtm67yPBhEiXdhyGnTTq qsoroRyLjq1Dpe6hVDru0cjKaUzyl4LmcdmvKsXocafE7wxAQEXCITBtRCK47kVH3yEtytQdULK q0EPz1w0JB/zBDuygIyDEUXyQDBB67cH2tORHKXVqB1NcuYT X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A driver module matching devices using an of device id table is supposed to declare that in the module's metadata. Add this information for several drivers that failed to declare these. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Acked-by: Daniel Palmer Reviewed-by: Frank Li Reviewed-by: Linus Walleij --- drivers/gpio/gpio-bcm-kona.c | 1 + drivers/gpio/gpio-creg-snps.c | 1 + drivers/gpio/gpio-ep93xx.c | 1 + drivers/gpio/gpio-ftgpio010.c | 1 + drivers/gpio/gpio-imx-scu.c | 1 + drivers/gpio/gpio-ixp4xx.c | 2 +- drivers/gpio/gpio-mpc5200.c | 1 + drivers/gpio/gpio-mpc8xxx.c | 1 + drivers/gpio/gpio-mpfs.c | 1 + drivers/gpio/gpio-msc313.c | 1 + drivers/gpio/gpio-mvebu.c | 1 + drivers/gpio/gpio-nomadik.c | 1 + drivers/gpio/gpio-pxa.c | 1 + drivers/gpio/gpio-spear-spics.c | 1 + drivers/gpio/gpio-xgene.c | 1 + drivers/gpio/gpio-zevio.c | 1 + 16 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index b0beffe48b7d..9bcbee25f685 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c @@ -522,6 +522,7 @@ static struct of_device_id const bcm_kona_gpio_of_match= [] =3D { { .compatible =3D "brcm,kona-gpio" }, {} }; +MODULE_DEVICE_TABLE(of, bcm_kona_gpio_of_match); =20 /* * This lock class tells lockdep that GPIO irqs are in a different diff --git a/drivers/gpio/gpio-creg-snps.c b/drivers/gpio/gpio-creg-snps.c index 157ab90f5ba8..2e159ea41791 100644 --- a/drivers/gpio/gpio-creg-snps.c +++ b/drivers/gpio/gpio-creg-snps.c @@ -131,6 +131,7 @@ static const struct of_device_id creg_gpio_ids[] =3D { .data =3D &hsdk_cs_ctl }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, creg_gpio_ids); =20 static int creg_gpio_probe(struct platform_device *pdev) { diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index 8784e433e1ff..278b1093dd22 100644 --- a/drivers/gpio/gpio-ep93xx.c +++ b/drivers/gpio/gpio-ep93xx.c @@ -377,6 +377,7 @@ static const struct of_device_id ep93xx_gpio_match[] = =3D { { .compatible =3D "cirrus,ep9301-gpio" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, ep93xx_gpio_match); =20 static struct platform_driver ep93xx_gpio_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c index 11e6907c3b54..e29df8d5e571 100644 --- a/drivers/gpio/gpio-ftgpio010.c +++ b/drivers/gpio/gpio-ftgpio010.c @@ -323,6 +323,7 @@ static const struct of_device_id ftgpio_gpio_of_match[]= =3D { }, {}, }; +MODULE_DEVICE_TABLE(of, ftgpio_gpio_of_match); =20 static struct platform_driver ftgpio_gpio_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-imx-scu.c b/drivers/gpio/gpio-imx-scu.c index 0a75afecf9f8..3ebd3d73ed58 100644 --- a/drivers/gpio/gpio-imx-scu.c +++ b/drivers/gpio/gpio-imx-scu.c @@ -114,6 +114,7 @@ static const struct of_device_id imx_scu_gpio_dt_ids[] = =3D { { .compatible =3D "fsl,imx8qxp-sc-gpio" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, imx_scu_gpio_dt_ids); =20 static struct platform_driver imx_scu_gpio_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-ixp4xx.c b/drivers/gpio/gpio-ixp4xx.c index 669b139cd499..88d48cfc9017 100644 --- a/drivers/gpio/gpio-ixp4xx.c +++ b/drivers/gpio/gpio-ixp4xx.c @@ -341,7 +341,7 @@ static const struct of_device_id ixp4xx_gpio_of_match[]= =3D { }, {}, }; - +MODULE_DEVICE_TABLE(of, ixp4xx_gpio_of_match); =20 static struct platform_driver ixp4xx_gpio_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-mpc5200.c b/drivers/gpio/gpio-mpc5200.c index 00f209157fd0..2c828bc922ae 100644 --- a/drivers/gpio/gpio-mpc5200.c +++ b/drivers/gpio/gpio-mpc5200.c @@ -180,6 +180,7 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_= match[] =3D { { .compatible =3D "fsl,mpc5200-gpio-wkup", }, {} }; +MODULE_DEVICE_TABLE(of, mpc52xx_wkup_gpiochip_match); =20 static struct platform_driver mpc52xx_wkup_gpiochip_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index a6868f673831..ee35da06cbc7 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -318,6 +318,7 @@ static const struct of_device_id mpc8xxx_gpio_ids[] =3D= { { .compatible =3D "fsl,qoriq-gpio", }, {} }; +MODULE_DEVICE_TABLE(of, mpc8xxx_gpio_ids); =20 static int mpc8xxx_probe(struct platform_device *pdev) { diff --git a/drivers/gpio/gpio-mpfs.c b/drivers/gpio/gpio-mpfs.c index 7f0751d7b1c4..1078b3018970 100644 --- a/drivers/gpio/gpio-mpfs.c +++ b/drivers/gpio/gpio-mpfs.c @@ -295,6 +295,7 @@ static const struct of_device_id mpfs_gpio_of_ids[] =3D= { }, { /* end of list */ } }; +MODULE_DEVICE_TABLE(of, mpfs_gpio_of_ids); =20 static struct platform_driver mpfs_gpio_driver =3D { .probe =3D mpfs_gpio_probe, diff --git a/drivers/gpio/gpio-msc313.c b/drivers/gpio/gpio-msc313.c index 7345afdc78de..38932986dc36 100644 --- a/drivers/gpio/gpio-msc313.c +++ b/drivers/gpio/gpio-msc313.c @@ -688,6 +688,7 @@ static const struct of_device_id msc313_gpio_of_match[]= =3D { #endif { } }; +MODULE_DEVICE_TABLE(of, msc313_gpio_of_match); =20 /* * The GPIO controller loses the state of the registers when the diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 8d3acadb0d68..4d1625be11ec 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c @@ -978,6 +978,7 @@ static const struct of_device_id mvebu_gpio_of_match[] = =3D { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, mvebu_gpio_of_match); =20 static int mvebu_gpio_suspend(struct platform_device *pdev, pm_message_t s= tate) { diff --git a/drivers/gpio/gpio-nomadik.c b/drivers/gpio/gpio-nomadik.c index 208fed631975..90293329b40b 100644 --- a/drivers/gpio/gpio-nomadik.c +++ b/drivers/gpio/gpio-nomadik.c @@ -719,6 +719,7 @@ static const struct of_device_id nmk_gpio_match[] =3D { { .compatible =3D "mobileye,eyeq5-gpio", }, {} }; +MODULE_DEVICE_TABLE(of, nmk_gpio_match); =20 static struct platform_driver nmk_gpio_driver =3D { .driver =3D { diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 5d61053e0596..317e3bc925eb 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -583,6 +583,7 @@ static const struct of_device_id pxa_gpio_dt_ids[] =3D { { .compatible =3D "marvell,pxa1928-gpio", .data =3D &pxa1928_id, }, {} }; +MODULE_DEVICE_TABLE(of, pxa_gpio_dt_ids); =20 static int pxa_gpio_probe_dt(struct platform_device *pdev, struct pxa_gpio_chip *pchip) diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spic= s.c index 96a0e1211500..3099deb2b290 100644 --- a/drivers/gpio/gpio-spear-spics.c +++ b/drivers/gpio/gpio-spear-spics.c @@ -157,6 +157,7 @@ static const struct of_device_id spics_gpio_of_match[] = =3D { { .compatible =3D "st,spear-spics-gpio" }, {} }; +MODULE_DEVICE_TABLE(of, spics_gpio_of_match); =20 static struct platform_driver spics_gpio_driver =3D { .probe =3D spics_gpio_probe, diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index ad0f1551c271..b34b0c58b67c 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -191,6 +191,7 @@ static const struct of_device_id xgene_gpio_of_match[] = =3D { { .compatible =3D "apm,xgene-gpio", }, {}, }; +MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); =20 #ifdef CONFIG_ACPI static const struct acpi_device_id xgene_gpio_acpi_match[] =3D { diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 288a86c8294a..f1c5c6a20673 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -213,6 +213,7 @@ static const struct of_device_id zevio_gpio_of_match[] = =3D { { .compatible =3D "lsi,zevio-gpio", }, { }, }; +MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); =20 static struct platform_driver zevio_gpio_driver =3D { .driver =3D { --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26D5D3F1AB9 for ; Tue, 14 Jul 2026 07:25:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013930; cv=none; b=p1OlyV99f/7Mz7MFbSwJN1Ub3tBx+MlZFlEdu3/jRA/lxRbd1BeOyiHrdDpfy1N3/WhAEUzOoJOqBP2tKtXSjOVIhWr0RLD8riWTF4lCFLMMIEscz2hYLoM9IhfT+IX8qUrgq9nZgl6KKQJgtGr23hYmcwzu8TG0ZO6hJavo31Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013930; c=relaxed/simple; bh=bkwlINiazla+tZRSHtoxnsVLP20L2oXwibDxhkxj7js=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=s2AYANgxemNYsyzgOn4zHSSl+ysuml7yIQFOqeH8C7bKSqqIr/KAvziwlE3gw7VsZA+tqhA7R855WBxsqqIhxA4QEK/K2iAe/4Y/ZagYoKoLYY8iJhwFBiRSMKRiUHRopB4yD/Zir8w3btg7zeuelPFbsoVXNZgNekD+NLcvBhA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=O4V2c+CX; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="O4V2c+CX" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-493f75f7172so25897885e9.1 for ; Tue, 14 Jul 2026 00:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013927; x=1784618727; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=WUteuwME2uGYWU75R4Isd7MT7Vc8E+akRTgRNZu/pPU=; b=O4V2c+CX9Zszy4+3u46KOalSuM0mwMTsjNG8mDYcwBkf7vQgDkiy9awAE0plWzjhoc +S9GZ14U0VAOWdsMAzcwfCQgU5oS6f5gEpreCBgxtiKeVIlBn5axi4dOfC/WLzG28sJW CarpG0VeoUjVC2Uj/X8St2YBga3/trWPrjVgrtT4AyWvRqCpaMT/eTg2YGM9oCMSfTSe Bl/1z4b39sI52RjV3GV0OhXKQRE9YzSsKS10RFPmMM+WGcf+v9TdTeMVRh9GnGBnrROm SXfv+FRrD94sivY7mXc6WqxjvQuB7Ea5E+3lDMIc0XgGzzWaCLFRrAaOMr5PolrjJHb4 6/XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013927; x=1784618727; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=WUteuwME2uGYWU75R4Isd7MT7Vc8E+akRTgRNZu/pPU=; b=MsyfZAG7dQdGuMtg/WZDNbVHNm1uBoApmsehjCXiWo5vjtVwafvOwo73CC1p1OPdKf 4UmGpwnWwACTtQate66RjUj2F455QklRsXcL2yOFyWfLmNXFfef5v/3YFLCAfdw24S5t VA8tOP/zUSw72CtF2v6cF2KU0+7/SAqqFNvEl2YfcdOr0UQXm8LN4HPAIEdqxMFqRJ3O 9m+4zyWb1UUxv3D6Bc95yviFo3rDaXnx7IvsNiUiczzcIRD97jSzGycefQ+Gr8ZfXtcA sDRO89p/gnoXnxVsmGmSFhbxy11AuC9dg2nKqmvqJmuj3bvmtCxetVOptZLjeFfWLSCZ Du3Q== X-Forwarded-Encrypted: i=1; AHgh+RrrqnpzcTYT9+8Lr/1vo718x5idst6Swo4YJh6BFMsobSgzwkc/d6EhdPPwbfnSJ2U6UlYhVEbaIsUf2oA=@vger.kernel.org X-Gm-Message-State: AOJu0YziWVTDpgqlS1oJzUPeD6L6J6ueqdjRhuNVlN9Ix0hEwCw0ziRA rVp8DzDI2OjCsQ9ckF0m7LDWTpeHmg5VXuxnI7wOTU24XAvsIQT/eYzPEB8/N1YRjD4= X-Gm-Gg: AfdE7ck5+OcXKLpNUt8N3v+qqMrD2KxV+qBIT77iaQgyYZU2C7T5bPbPnHKtOKbXbU4 aI0vfmdDzUJJ5ix27j/IiZhtQnR/A7vBnEqXoxxu63qdWQYyuWKma194c1P+BT3VwPeDWABH2uh hS00Mgbm43WT1dX8nBRDalWSUoRvNh39J+F2W8Bhw2erymKGa05AWHXQYFGfFpsfTitklAX+6yW SmujElcLgjJccmNAsOxwRI6I9gWPcG7V/Z4kkd3GK9bQqJBLruDOCzyl/mSyJiSF2emWQKQbc+H ITpaM22WDVmRRrvFpLeMtkBuffzZJcBUwyUo3IaunS0bjTt4Sp7CSvL9JNnaA8fWiu765+Z5qRv Z3F8i8DfQxgHsHrqgT/sFdyEQFxJAWLElecmHKodvpbTZ31KMEoZQispulN9PhA02CGIenESctX aoLEPc52L3LxjiqoY8HcNen5togob7nTsJs0qT6PEzv5Yu35Tq+uL519UCvE6H2gTD53Hq45CJL kdZ X-Received: by 2002:a05:600c:5392:b0:490:b00c:8e6a with SMTP id 5b1f17b1804b1-493f8826bbfmr121147925e9.28.1784013927447; Tue, 14 Jul 2026 00:25:27 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-493f2dd8376sm210228315e9.2.2026.07.14.00.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:26 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Robert Jarzmik , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 08/20] gpio: pxa: Add missing platform module annotations Date: Tue, 14 Jul 2026 09:24:09 +0200 Message-ID: <4549e409313d4781714cf6fd28302c04e3a4164f.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=849; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=bkwlINiazla+tZRSHtoxnsVLP20L2oXwibDxhkxj7js=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQvKuA8ovccN5tLhz+Y2wAG2+n+zwCLNHh9/ xDEmTmqp5eJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkLwAKCRCPgPtYfRL+ ToeGB/45Q0i0txkjV3tV1SCPK0vMpVb8duQ8bnp8RYEN0lrV35+Q2XuGnWbt6gkYUgu2OZHoP/g Oku5IFXOb98v99pSp9pvOgIlj+QlPpJTykVuo+zgnrN/fcj8rYlYLVwk51cQLRCLoDWLuvKQUrp REB8RWRMoRCZbxKLmOU3ktj3RY01xID+f6VWgv0usNqhMRbCwcVCtTG6gpMDRNwh5Vk2OyMQ9pz 3lRCUrn593hBy2JvWZTe2hMZFJqcPpzWX1sAK6QA8BQoKgk4Ti5xz63zY75o+8xH2HHMslFuF11 Epy/zZJXDP4Jvok+UzFySp4UXakiM9HhT19NFzK+PnvbJpAT X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A driver module matching devices using a platform device id table is supposed to declare that in the module's metadata. Add this information for the gpio-pxa driver that failed to declare this. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-pxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 317e3bc925eb..7aaed5b30e7e 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -719,6 +719,7 @@ static const struct platform_device_id gpio_id_table[] = =3D { { .name =3D "pxa1928-gpio", .driver_data =3D (unsigned long)&pxa1928_id }, { } }; +MODULE_DEVICE_TABLE(platform, gpio_id_table); =20 static struct platform_driver pxa_gpio_driver =3D { .probe =3D pxa_gpio_probe, --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A70EC3F1AC5 for ; Tue, 14 Jul 2026 07:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013932; cv=none; b=Vc8ljgwnC+oY+OYqFE8g1NHqv3iRpTEbcwr8k9/voTFknX1hXy4i5M1PdVLmu9fEkTnGmyyak1rH7OLtUy6TIM09kKPqzVvWWpTVU5KE1c9/kWOQNNzUCqu601TdvvCMHBdFa4OUFgQrYA46hhvUaB9DJw+glnoF5rbreE4X6FE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013932; c=relaxed/simple; bh=kJbP1vlIDZGNW5MhH9yj5Dhvo1y5G4Ye6VxXeN1kpPY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=elxMg/i7ILlXHyWRntEawfyGnOu8DybFV+LEJh28Ai1/hjIHgFj5KE2U8/ZhOHqVyycS2Jjip4BK3ILKwtOPoBiUUNRGe54v0pQ+qfBm30I43faS6Dau5xfmjbvjskVgL7LcQZEUqyUpaByvAArfcVIxalbaC8t3XYT96o4m6rM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=YMRWD7kB; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="YMRWD7kB" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so29253915e9.1 for ; Tue, 14 Jul 2026 00:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013929; x=1784618729; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=d3yYjM1iQh/krpKsxuFz4T1SZtWWbdIXNuzKjoaUC1k=; b=YMRWD7kB6JNRSrf58vgM8V7oadQKXawKNkHbdiT7o3qwS5N49MCu6/mqbcCthwlswT /9KXiq1/n9fyYJMNYub/ZoqSrPttNWY0opqaa8ojIILPQL5VChX8G0dzR7q3aHIoDzBt Ecr2tkZBU+6PbMKUzfjXufeT6AzkIH065GsPtXPmaoCJCC9krGovtDYJxjNfF9nyD34I rW8ALajACt74+rnJe6zORln0MidYRJcqYatBLyB0NXSzRv4DNIc86AAQEOiX7L965eZy LkinTEDQJhYfwzvjYHDyVO8cden1Utrj6jRsKxEUznkZaK2VjgI0ZvphntjnITyHVLq5 X6rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013929; x=1784618729; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=d3yYjM1iQh/krpKsxuFz4T1SZtWWbdIXNuzKjoaUC1k=; b=a5rwwTqZun9bXeDFoJko83ubVXio/p0hcrC9lAwm4v/VxxGHZqPNlF/ZRRY5WTiqpe e0zO3cSi0UZlxNSHl5rnZJVKQbQemc9cfOk2xOC1MZnurP8/A7nZi+wrcMz3q0u0iPdQ +XCsIZKUtnjua/51BgzxGmY7EKk9HSoE4RWG66N/8dYA/vIDpb9qV0QbtpfPxnknHwOY 4FMWnRAPIc2ylECN/ix0PdcyQlFMTE7to4HqmyNDwOFPl+FybI3kTvMg343I4mAGus/1 zWhF15EmCiqyZD7Wq4JDJMQN3UHhNKQr2GK/a0yNTfwy7CxoVp26Js3vjnRDG59c/j6L E5rA== X-Forwarded-Encrypted: i=1; AHgh+RrvojGfU+tBSbaTNxYW5960V+rOIHER7QpqUcuFotKqjD4uMpD9UB29wjUHT+SdpSxFZ14sOOn4dn5UHH8=@vger.kernel.org X-Gm-Message-State: AOJu0YwBJWJR2coO/MDbS+IIzsZT15HDQ6vmGi02s5weMBUTQHj7vlsi oUxeyrfDLKT6amp8KEvIH7dXha0LI9FP8tDKXmRgYbmf68InB9tm13F7MNpY4YKziRk= X-Gm-Gg: AfdE7cmpaf6DLW7TwkW40jKd4xQD6yyJvQTo++S7iS6igmFSVCumQ3Qt/CbtycTqJt+ mMQkOST6GnJ6sIhwGTGyDEVG77FVRpU+9RXfdqTBbwp3/AnZYM6ZHq66JcbLDCCcqHK4eJdREQi 6L/N2qFBjhH6pvcXsSfMKpddsxHbCN0pC+07awWVjOLB3V9RJVGZpatTn8G/anXZtn+6t7DJ//x 2He6NQ7VPfSf0v42Rx501dNRd28Lgj+MtLeHNuxOZ1KUu32Jol2lREbRc5xswTppHA1L+eCA1Jp I84i7zy9HB9G1balwERCE0vvM2+bptERsn0+fqz1OxJqdzRfSiuWpVYghS02f3NXMPzPDBmQGK2 WBNS3OTclJK6Op8DqCUda7VES/Ns+WA+5Igc6T5L0Qc/3MDwjDFnenn+e1OrSsXz7OJR1nuqc9K V4T7YgHNuBqxwHuIMOHvhmDC7+kVTnufMcaaTOEgH9s+UkJlnWMh+/q7Y9aD0lEceS0l/UwDjx2 LuH X-Received: by 2002:a05:600c:620c:b0:493:bc4a:fb56 with SMTP id 5b1f17b1804b1-493f883dbd7mr116701805e9.39.1784013929140; Tue, 14 Jul 2026 00:25:29 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950872424asm58244745e9.1.2026.07.14.00.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:28 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Mika Westerberg , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH v1 09/20] gpio: Add missing dmi module annotations Date: Tue, 14 Jul 2026 09:24:10 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1293; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=kJbP1vlIDZGNW5MhH9yj5Dhvo1y5G4Ye6VxXeN1kpPY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQyE9sV85pZ6HApzs2xBoUi/jv8SIAhyTeGK JrzbtP3BTmJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkMgAKCRCPgPtYfRL+ TruxB/9ds/H3HeOoZwboTo7tiqDemGhQudmIdmfMK5eY6UQ6tyyRZHVzIpM0MowrkE1Rrgu1+8i jlMbbs7lpd4s+pjYFpMQU2t7/zwn+1uxlBKzuETcvoWzWZVTGCTssIShhDvUEVMLMzGqZm5i/4w WavrmZ7UvLlvZEbsDwysdzRlsPiwnNCThyMTMv1REGcpSAMBQhC779F8+y/LBEW06+rSshOjkVl t2RboGW07K34FZeWC5ab7C0qegqzAR5zrIbaCYDUe3mfXP4QEjlh1VMDZJDW6hXXeYFXVlquwYy FPfipsv57n5RdnZGeTAXhZOB9gi6ZjKEm0M/mNuJg+c+Q62H X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A driver module matching devices using an dmi device id table is supposed to declare that in the module's metadata. Add this information for two drivers that failed to declare these. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-pca953x.c | 1 + drivers/gpio/gpiolib-acpi-quirks.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index f6b870b7b352..a2d85ab1d01f 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -177,6 +177,7 @@ static const struct dmi_system_id pca953x_dmi_acpi_irq_= info[] =3D { }, {} }; +MODULE_DEVICE_TABLE(dmi, pca953x_dmi_acpi_irq_info); #endif =20 static const struct acpi_device_id pca953x_acpi_ids[] =3D { diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi= -quirks.c index a0116f004975..5525c467c21d 100644 --- a/drivers/gpio/gpiolib-acpi-quirks.c +++ b/drivers/gpio/gpiolib-acpi-quirks.c @@ -394,6 +394,7 @@ static const struct dmi_system_id gpiolib_acpi_quirks[]= __initconst =3D { }, {} /* Terminating entry */ }; +MODULE_DEVICE_TABLE(dmi, gpiolib_acpi_quirks); =20 static int __init acpi_gpio_setup_params(void) { --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 617583F23D1 for ; Tue, 14 Jul 2026 07:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013933; cv=none; b=ZGfzP9bO+NjpYPRQLy7BDwIIKl7LElk1sqPJ49PJb/xb+qzf0d+iR6sDhAHXs3I3UJMzoj0RzdiRBybFuWNM8GK4biiJBSGMZUTtF3E/v7weJ3sDs8bNV7gyjGCWQ2xowE4HNRBeJ14bq5aI2VIEs4/UXVXnaEuutR+2lQ5Ixjs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013933; c=relaxed/simple; bh=kujYGNt7XvMhEZd6iktrLMCpUgQvKZNVtEThnF4x/hw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VOjdlpI2CC5/4fSwZoTuE4xNXwYAs+uwjSUk87WSiCHoUmuGCzLqfJWbdPVg+Ao+t9Bsm0+JEpOpJJRP4pmFAhvwCvOT3oQucOajwkZSvN/OsPkpxOhAXc/Su3rwWNGPg25kieP5onQslUKpNeviqrgTRtXTpwz5dEGdVuwd0K0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=KLtey0pR; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="KLtey0pR" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4799b3f7c83so3022059f8f.2 for ; Tue, 14 Jul 2026 00:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013931; x=1784618731; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=6nhkLV0gTH4BitTfM5YVgSjZiXIp7iQInfmkb6/Vsto=; b=KLtey0pRqAxvtrRTs8edKx0u0uly7q9KmoXLUjuXSDcz9ess3bkDEAzMFDLy2hHEfJ 3VowPTCzjNt1nQjbE/eSsjrCt/wqZZbbEzR6qG1gRGxEf5/TUxw7xCGTW7n/F9XQ/Sl4 GjTPy4+EysyYQs0mVZvvGTKXag8QdNEmo+fI0nKHxXLOqXCYPkpzXD96Mq0sHsidRMsS zM1jeVPGPy5F1X9qs05N30i3DU0f2oDymqoS3HDda7Eq0suH62ttDR5pgO87sfnrtKCC ATFXFalI8e/pPHrNdQNRWGh05PnrhVpqLJrCQaEW4aQy0+H7B7rtjKn0GgtJbSnACdT7 q/OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013931; x=1784618731; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=6nhkLV0gTH4BitTfM5YVgSjZiXIp7iQInfmkb6/Vsto=; b=Gjc6LZ+7vLmZ+N4Mtmo2pWbGWcLDYIBlzQxB1c4uWhNjzPAJ4N5FavbXz18sMWvCqe oEKM+AzUt6HJ3cjs1xh3dCV1vGNy8FOKgaxR6t3vCWMjQ8oG3R3WZQyxeb2fk6Otvblb U/WBFsvrteETWQdxABp/glmnd9L+YKmumrPSON9e2/nrPhCePEcFtCOku6xpsl7h/Trs RnQTUTyZ2gk2W1/tTZwVfB1uLQymhy3jbSmh7dEU6z5vE7TkuaMelfzXH/vdNRaVXbQl 8367/U9vWPIqpqeZtfYlEIu93rQWPKjqKRUYAAbM7I83vElbm5Qj8v8GWIugvkGYr54S 71Tg== X-Forwarded-Encrypted: i=1; AHgh+RqAfsN44MokbRNMshHIAGjb1DYsrTkaTz9vaL3SOXviU60nRn+oB85cNIG/TWidujIz2zZRC5q35f54CyU=@vger.kernel.org X-Gm-Message-State: AOJu0YwElTtXcKRGkhJ5rfE21dYgB6fRytZXOnYuOqDqm4kFEXGmkR+7 5aaJByj4fGfU78pT2QmOMmsUrxR1OnnQnFfnvm6qUZZ8nmd3xRCZWKQeWIcVFgqhuQU= X-Gm-Gg: AfdE7cnSddovOHZXBbzOYtBmMv534ERRs0weF8bt/7SlmaYqZaFpWsbWSmRUAY2kYyt n5BjarUW/BTSvlWU2XTMR4D43lcGXeJI0fEDGA/y5ZTgKGLRGKr9IYsKo/YPH6SIXtsRkVDSPPA lg3SBCi+kyLaUklHfsSBwkMdIzQgpgw/MOCRAHT2jtU2h3KKmE7oN3xJ2/ufdriW0P/42eN0JOR GKTqd6obM1icnJktdcPShkM6tvRLkIdplbwXQgEPxIYLczkhOluw3CFnNm1Rf7dPx2EK8s68TH8 NTgSOW9EwqqKw0KaUQ9rmtGLjDvJNnj5KshtYwqGI3wcC666EExBGJZ3eAho08KaTSFw8Dvr+Ry vMKySNfnwyB8D+q83MHFNSX8L/cU7Ad+Fr58PlOA/Guees8fnCdzVijG0JIPS4iljHxg04IH1Ib mdqs0Gv4wJEvx/W7JPCE8oRPgAB7hFor4KdSo0UymYTo6jGs5+WTXb9g6EE8LvVCdk58qEmi0gK mo7xG2fS92Nc+0= X-Received: by 2002:a05:6000:24c9:b0:47e:81aa:3822 with SMTP id ffacd0b85a97d-47f2dcf3f27mr13621849f8f.42.1784013930681; Tue, 14 Jul 2026 00:25:30 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634e036sm6959684f8f.5.2026.07.14.00.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:30 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 10/20] gpio: pl061: Use empty initializer for amba_id terminator Date: Tue, 14 Jul 2026 09:24:11 +0200 Message-ID: <3a6862e6ca811d7273b0ee27fb8cfd76ef70deb2.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=904; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=kujYGNt7XvMhEZd6iktrLMCpUgQvKZNVtEThnF4x/hw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQ04CGHLM+urxkjaSbLnCdmQj5HHhbqWaLIk gk3q1yhTk2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkNAAKCRCPgPtYfRL+ TgMOCACrH6sPXvFklXWqqQR/DCrHxuRxpy0aE7tvnKZH07JC0jQ4VpnCWVJRM7LQBgbiKKZPl0y DsHgdh5mI6sMQtJi2syZBF7ShCp9Zhv6la5KwOxBmwTp7zMh4puShvEpK5ol1Y08PBJ4LZcRVb9 WTMdBRUAfpH2nAw9qSJpFOW8G+di85Bp/p7RtlCF6X0IjVB+FdBw0gIf2feQWbdxFMURwt5N3St JiBEtn8Lmx77AI5BhnfQntzrN2cjCZ/NhkZZieHtBGm8RnljgmF+caZ/1nOHx76K7Z6+78WmD/6 APfdUiZp+Hb9NkSHirUciWfQ0tksKHmGSwsJJORIa/9N1UXO X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable A device-id list terminator has to be completely zeroed. Most such terminators (also for other device ids than amba_id) use an empty initializer for that and let the compiler care for zeroing the entry. While touching this entry, drop the trailing comma. There are no changes to the compiled driver, only the source looks nicer. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-pl061.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c index 919cf86fd590..0f4c64f43ac4 100644 --- a/drivers/gpio/gpio-pl061.c +++ b/drivers/gpio/gpio-pl061.c @@ -413,7 +413,7 @@ static const struct amba_id pl061_ids[] =3D { .id =3D 0x00041061, .mask =3D 0x000fffff, }, - { 0, 0 }, + { } }; MODULE_DEVICE_TABLE(amba, pl061_ids); =20 --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 170413EFD26 for ; Tue, 14 Jul 2026 07:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013935; cv=none; b=vCUdCdWDJPA98aTvS72XjniRGFmWEPECS5R1fc8JxMUlI9OQFKclfQGMD7L3l4ksRxJ/KyVedMm4inROKUmxZBYc5Pp/9igA+8EVimev3+IhbYnk8O44cYD0jdKSyEsLt+XGkAvfUc0tRggJr6k0wVsj0VQzG+e/i3GanNgB6Ok= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013935; c=relaxed/simple; bh=A1SjcAd3WHHAX/QXJ975pfrAgfiuKdbesg5JZhWjIlE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F61pyh+Cl8unuT/uyueDmaQhZDMPcCJnOPPyWlHbiTRXR5LYeR5qUDkhPUHxUfJi0BWrEEik/FFeesDU8Gi3xNSEsmCKObqmb/XYfGxLdc075u1BZyKUzmyw/WSkrn1WFXaFX70HGmg7/T0FSP53AmdvDSZzNDYtHLIIlAziFdA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=Ha2Hz8YS; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="Ha2Hz8YS" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-47f3e6cc44aso1671723f8f.3 for ; Tue, 14 Jul 2026 00:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013932; x=1784618732; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=LDWmvxxbYStX+Phf5LJnoi8LIpVbtOl/EEuga7Ikacg=; b=Ha2Hz8YS8hFI54NW4tRbmr6R091mJFZ/kF1RixMVKZOsjTneFae8t81Nlt6eJ1OSM0 3HBcEpP/c1MAWL8N2ZzNcfXWNsfrtBcZOqh4zjvCe/JmLkG332+uPvCguj6tBNEs3T9T sYxoJgY7DQK3W1cAqgqNDuA3lMS0BohoWqYSZZGHiSUG903oqM7oURYc8I4+5gr6dqMC N1KPn8PsW6TtzHzIq0FyvI4DtoR2ycuIi1zG1oSipOyP+nZQ78Oq5rkKJJpFG2wOs0Ed EOYye9yKoZOvPQcMnqMESVLJ13ncclWdvOpAdx2nTD/3WtDMmO8Oev5OsCerrsPPiiK2 uwLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013932; x=1784618732; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=LDWmvxxbYStX+Phf5LJnoi8LIpVbtOl/EEuga7Ikacg=; b=r3r16w8fwxzUbgC2qRaH6Ybtp8NCf5FIA9nVirBsLu49q1S02BN//vKJG9nyG1AZjY Es9YD9xOCeoIpXDpklC43IxoIYLGbbF/B72dkSKTcSEHjlBzf4hE8DW8FnCn3PMH5pXe I6RmLd1lcA25/nri+Im+rdkkTQr99sUAuotfiMDPiuLgFqVd4y3l8oSnBiiK97+p4BWT Kdk2xvZoYkYeIvEQBue4IQf5Zujm8PspH5gtD8Udf6PX4uPJRqBJJgfWAzywzS/mrSXv O65j0TspBViJhz3Thqc04Ha3fnuKOXfDgeKShf6c9u7EWuaikh5EqVGniDvaI2xM6npK QjiA== X-Forwarded-Encrypted: i=1; AHgh+Rqd0P+eWRHC3VAGYCbdP1ScsnUQJUdNxUJXNerjnFLloqKWlrQINSJX2NtvQxzhmL3DjvTnM+siCpMRgGs=@vger.kernel.org X-Gm-Message-State: AOJu0YwwT1MnowHW+er4Ajte9egSS9S3mnDXoAD5+/sRX9tX45kJmoGP XnO1XGqmXPX2gpq3sG3ZLeheAXQdnmbHsJ4SzZiqFkzCr87IQe/huSA5H4tsiaUzX0I= X-Gm-Gg: AfdE7cljZw7YI7Zvv6JGZbSyX5gza0iFfY/mC+zZz4wdIY4zdaDzpOLAKQYcqhzTO8L deoqumKD2RqviEVflgNrh/GQrTDYnkjXwVjUlvoHCltiSA/H0u590Uc1R0pPDM4DgDk4taCzQ6o L5phGg1ZtUlspRhX7NWX4JCisvqeXGIm0hSA1x2e0JwQ6JOYVjS1z6C4F6IKHrcU8v0REJJzfvj PYFioAfcu3jQx+SS8XUSDtS6s69BLxqRChKajPgy4HkgD2PumlUc1hJiWu6QRaxpSVLlVxABSgb bToFOtztgIcNHeriuhaUj+DCnhdynKkJ6gbUYihJG7esh1FZKfiHFwoUBdBZroiYGHD+tKl1lOU iOFHPd5qMv4s6GPfWEQOcwtqIMLiGl1GffovkMn1t00FXuVYPOuzbUaVW9DmPtAZNCOmZ3nDbf4 oP/E9WP2d5xnxFtSxwjNwwfFgNjnxSyZx7dAUCyBfdDWoiPS7AqOGdBV+kT+BYNPw9poN6FvhEj fz0 X-Received: by 2002:a05:6000:2dc6:b0:474:18d9:8371 with SMTP id ffacd0b85a97d-47f48891ebbmr1294220f8f.28.1784013932321; Tue, 14 Jul 2026 00:25:32 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f464b7f84sm5609689f8f.27.2026.07.14.00.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:31 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Hoan Tran , Andy Shevchenko , Yang Shen , Alan Borzeszkowski , Mika Westerberg , Israel Cepeda , Hans de Goede , Sakari Ailus , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 11/20] gpio: Use named initializers for acpi_device_id array Date: Tue, 14 Jul 2026 09:24:12 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=7732; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=A1SjcAd3WHHAX/QXJ975pfrAgfiuKdbesg5JZhWjIlE=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQ3SGZ4XVffYgmhJ5TLl1YbJ/nlXFNn3cQq3 dUlAjQVyWyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkNwAKCRCPgPtYfRL+ TkoiB/46M4tZJrqIgbjIC2BwPlaZku+VN8ukf6uwh2jfdZIX6mn0jAN7nDzSGg6mabGxwrF4cYW 84i1CwZUj4o7xO+GQjeb4Qgd51u2Vjf04L+OjobTl8OVrmS9/Co2Tj4r7YZKsBZjBSc5R8Wo1rn mhP8oHCg8huLlJTe+f9ckF6Xb9Lf8xNSgZgT3etEFKV6rH4cQdEVrP4sdvMC/QtCYH0eg1zvcIA u0qQUYfEeCNIp7JwE+8Lpn0zPRR0Rtm/mqDcdtJ+OKqf8cIOsA4IAWQUnHi16CmM1XpOdUAuMZK wdLGX4LkoYVfhGwY5YeYVafg+LM7QPU96MFJERkXq2hdrOH2 X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. The mentioned robustness is relevant for a planned change to struct acpi_device_id that replaces .driver_data by an anonymous union. This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-amdpt.c | 6 +++--- drivers/gpio/gpio-dwapb.c | 10 +++++----- drivers/gpio/gpio-graniterapids.c | 2 +- drivers/gpio/gpio-hisi.c | 2 +- drivers/gpio/gpio-mb86s7x.c | 2 +- drivers/gpio/gpio-mlxbf3.c | 2 +- drivers/gpio/gpio-mpc8xxx.c | 2 +- drivers/gpio/gpio-novalake-events.c | 2 +- drivers/gpio/gpio-usbio.c | 12 ++++++------ drivers/gpio/gpio-xgene-sb.c | 2 +- drivers/gpio/gpio-xgene.c | 2 +- drivers/gpio/gpio-xlp.c | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/gpio/gpio-amdpt.c b/drivers/gpio/gpio-amdpt.c index 8458a6949c65..32c4d0ee8101 100644 --- a/drivers/gpio/gpio-amdpt.c +++ b/drivers/gpio/gpio-amdpt.c @@ -125,9 +125,9 @@ static int pt_gpio_probe(struct platform_device *pdev) } =20 static const struct acpi_device_id pt_gpio_acpi_match[] =3D { - { "AMDF030", PT_TOTAL_GPIO }, - { "AMDIF030", PT_TOTAL_GPIO }, - { "AMDIF031", PT_TOTAL_GPIO_EX }, + { .id =3D "AMDF030", .driver_data =3D PT_TOTAL_GPIO }, + { .id =3D "AMDIF030", .driver_data =3D PT_TOTAL_GPIO }, + { .id =3D "AMDIF031", .driver_data =3D PT_TOTAL_GPIO_EX }, { }, }; MODULE_DEVICE_TABLE(acpi, pt_gpio_acpi_match); diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index aa7c08e60707..e159c3f98f1c 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c @@ -720,11 +720,11 @@ static const struct of_device_id dwapb_of_match[] =3D= { MODULE_DEVICE_TABLE(of, dwapb_of_match); =20 static const struct acpi_device_id dwapb_acpi_match[] =3D { - {"HISI0181", GPIO_REG_OFFSET_V1}, - {"APMC0D07", GPIO_REG_OFFSET_V1}, - {"APMC0D81", GPIO_REG_OFFSET_V2}, - {"FUJI200A", GPIO_REG_OFFSET_V1}, - {"LECA0001", GPIO_REG_OFFSET_V1}, + { .id =3D "HISI0181", .driver_data =3D GPIO_REG_OFFSET_V1 }, + { .id =3D "APMC0D07", .driver_data =3D GPIO_REG_OFFSET_V1 }, + { .id =3D "APMC0D81", .driver_data =3D GPIO_REG_OFFSET_V2 }, + { .id =3D "FUJI200A", .driver_data =3D GPIO_REG_OFFSET_V1 }, + { .id =3D "LECA0001", .driver_data =3D GPIO_REG_OFFSET_V1 }, { } }; MODULE_DEVICE_TABLE(acpi, dwapb_acpi_match); diff --git a/drivers/gpio/gpio-graniterapids.c b/drivers/gpio/gpio-graniter= apids.c index 2d0fe3abd5e0..6a77a5864d09 100644 --- a/drivers/gpio/gpio-graniterapids.c +++ b/drivers/gpio/gpio-graniterapids.c @@ -394,7 +394,7 @@ static int gnr_gpio_resume(struct device *dev) static DEFINE_SIMPLE_DEV_PM_OPS(gnr_gpio_pm_ops, gnr_gpio_suspend, gnr_gpi= o_resume); =20 static const struct acpi_device_id gnr_gpio_acpi_match[] =3D { - { "INTC1109" }, + { .id =3D "INTC1109" }, {} }; MODULE_DEVICE_TABLE(acpi, gnr_gpio_acpi_match); diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c index 3b65ed4592ee..1a89695ce515 100644 --- a/drivers/gpio/gpio-hisi.c +++ b/drivers/gpio/gpio-hisi.c @@ -222,7 +222,7 @@ static void hisi_gpio_init_irq(struct hisi_gpio *hisi_g= pio) } =20 static const struct acpi_device_id hisi_gpio_acpi_match[] =3D { - { "HISI0184" }, + { .id =3D "HISI0184" }, {} }; MODULE_DEVICE_TABLE(acpi, hisi_gpio_acpi_match); diff --git a/drivers/gpio/gpio-mb86s7x.c b/drivers/gpio/gpio-mb86s7x.c index 78bcae130e0e..58915ffb4bfe 100644 --- a/drivers/gpio/gpio-mb86s7x.c +++ b/drivers/gpio/gpio-mb86s7x.c @@ -213,7 +213,7 @@ MODULE_DEVICE_TABLE(of, mb86s70_gpio_dt_ids); =20 #ifdef CONFIG_ACPI static const struct acpi_device_id mb86s70_gpio_acpi_ids[] =3D { - { "SCX0007" }, + { .id =3D "SCX0007" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(acpi, mb86s70_gpio_acpi_ids); diff --git a/drivers/gpio/gpio-mlxbf3.c b/drivers/gpio/gpio-mlxbf3.c index 7d747958f2bc..99b880596330 100644 --- a/drivers/gpio/gpio-mlxbf3.c +++ b/drivers/gpio/gpio-mlxbf3.c @@ -271,7 +271,7 @@ static void mlxbf3_gpio_shutdown(struct platform_device= *pdev) } =20 static const struct acpi_device_id mlxbf3_gpio_acpi_match[] =3D { - { "MLNXBF33" }, + { .id =3D "MLNXBF33" }, {} }; MODULE_DEVICE_TABLE(acpi, mlxbf3_gpio_acpi_match); diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index ee35da06cbc7..e79312a7d5a4 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -486,7 +486,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(mpc8xx_pm_ops, =20 #ifdef CONFIG_ACPI static const struct acpi_device_id gpio_acpi_ids[] =3D { - {"NXP0031",}, + { .id =3D "NXP0031" }, { } }; MODULE_DEVICE_TABLE(acpi, gpio_acpi_ids); diff --git a/drivers/gpio/gpio-novalake-events.c b/drivers/gpio/gpio-novala= ke-events.c index b3bf0038f84a..d5a3bd48bed3 100644 --- a/drivers/gpio/gpio-novalake-events.c +++ b/drivers/gpio/gpio-novalake-events.c @@ -304,7 +304,7 @@ static int nvl_gpio_probe(struct platform_device *pdev) } =20 static const struct acpi_device_id nvl_gpio_acpi_match[] =3D { - { "INTC1114" }, + { .id =3D "INTC1114" }, {} }; MODULE_DEVICE_TABLE(acpi, nvl_gpio_acpi_match); diff --git a/drivers/gpio/gpio-usbio.c b/drivers/gpio/gpio-usbio.c index 614523d461fe..3a34b9ac3248 100644 --- a/drivers/gpio/gpio-usbio.c +++ b/drivers/gpio/gpio-usbio.c @@ -26,12 +26,12 @@ struct usbio_gpio { }; =20 static const struct acpi_device_id usbio_gpio_acpi_hids[] =3D { - { "INTC1007" }, /* MTL */ - { "INTC10B2" }, /* ARL */ - { "INTC10B5" }, /* LNL */ - { "INTC10D1" }, /* MTL-CVF */ - { "INTC10E2" }, /* PTL */ - { "INTC1116" }, /* NVL */ + { .id =3D "INTC1007" }, /* MTL */ + { .id =3D "INTC10B2" }, /* ARL */ + { .id =3D "INTC10B5" }, /* LNL */ + { .id =3D "INTC10D1" }, /* MTL-CVF */ + { .id =3D "INTC10E2" }, /* PTL */ + { .id =3D "INTC1116" }, /* NVL */ { } }; MODULE_DEVICE_TABLE(acpi, usbio_gpio_acpi_hids); diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 3675456b1e9b..6f2907468507 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -339,7 +339,7 @@ static const struct of_device_id xgene_gpio_sb_of_match= [] =3D { MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); =20 static const struct acpi_device_id xgene_gpio_sb_acpi_match[] =3D { - { "APMC0D15" }, + { .id =3D "APMC0D15" }, {} }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match); diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index b34b0c58b67c..84c1cc165024 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -195,7 +195,7 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); =20 #ifdef CONFIG_ACPI static const struct acpi_device_id xgene_gpio_acpi_match[] =3D { - { "APMC0D14" }, + { .id =3D "APMC0D14" }, { }, }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_acpi_match); diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index aede6324387f..50625f98f8e2 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c @@ -304,8 +304,8 @@ static int xlp_gpio_probe(struct platform_device *pdev) =20 #ifdef CONFIG_ACPI static const struct acpi_device_id xlp_gpio_acpi_match[] =3D { - { "BRCM9006" }, - { "CAV9006" }, + { .id =3D "BRCM9006" }, + { .id =3D "CAV9006" }, {}, }; MODULE_DEVICE_TABLE(acpi, xlp_gpio_acpi_match); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90C563F4122 for ; Tue, 14 Jul 2026 07:25:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013937; cv=none; b=R8AZ2bZaIjg+gh+UpvhGc/oSrSbkoN+ZbT/b9xlxmDcpCS+vZnigLt5AxS1CdfwSnCpKuJttuB36/qvvlsQ95j/YSjrDalvIR/BiMRqugOj8aDgeiILUINOyJyou/AMHlC/axpFMZ0wU+KH1dZqEEe6b9M1sZV8ZnXdwf4ttIR8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013937; c=relaxed/simple; bh=sgUY0S/Wf6RKVdL/O7MaAprFuyCblfcodNo+HtW7MRQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HY7ZviENmkBNubHmcnEvLgeMy208nppSrXeiwuciS3h2UvzopnkUwZwJClQ6yxTzida0cFz07b3lPl8hk1kRwqyZQab+Cn+6GmPKk7JSUPeuesr9LMhlCbZNl8AKdO3KWhgcbZUjHGp34Mo3koTIi96S5lpCnMwPiFIGh8OUjz0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=BNfyB9e7; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="BNfyB9e7" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-493c19bad03so35551395e9.2 for ; Tue, 14 Jul 2026 00:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013934; x=1784618734; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=7XEu1anbxbFM/7L/MYZGDwApZe9SlYQE5kSCv2TCY90=; b=BNfyB9e7xgMFrNF5zELof8y1WzpPPwNX6nLxdNm0oi0gq+HWuwbISvAHu9ANcqJgww WIjOg1Qvdv8BlNO46bx28srn5Z+E0IUtwkXY0hHoPOYepJvfIRGX2JBQ+RnwckTRu3rn yYA/mdYerMeUiDdT2ko7d2fcTq/1Z3e+IvEdr3D3G9p7AP9xUy/i+WJM5rG/SpJIJMt+ 4uVUi0fg+gotkSkJseoXS4sSnti7X2xO8Or0O2rvDV8h5MB59v8Ux7aOgVpzEod8Ob6I 96Zqlk27fGFoHTbO9BsSb9++ZfRo0bV/LA9K+xvJRmzz07V1Ns2rICzfBHYIDYrxa7rM K8AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013934; x=1784618734; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=7XEu1anbxbFM/7L/MYZGDwApZe9SlYQE5kSCv2TCY90=; b=lnFZ0J9AlLha93E+/FA6ZT0s0A95hUTaqO+PqKwBrboL179ncIyvOEbIJZtW++fYV1 t7dGu8VM1eK21ZxIOSeQLWRk9FaoLdFzSw5TJzFwR7V3BNaDcXf9LiMM+8BQQxqKCCEI J+FO8u+7jxxF95532RxuPQ6Whzuu+nET7j1LX8LFSHl5hsolra8RgAud7SNeGSGYSjJI 54OI+c5vY0b9++s2zm/Out8pmKeXA5rCgNNmD8Q5pNSAwRYcKRHB3Klfw3pTa18Ct7rE s3x5ZGT6+OuhWiwh35vGYpodpKmR/4RTE5vNHRwmP/a9VBAXYMKsO0AYy1kk3wq5LhtM wAmw== X-Forwarded-Encrypted: i=1; AHgh+RrP0M9RsQPkbkb/QzkWM8aed50VSEB6bBEYrYWmnKUpOSjmTS0om0HeQf/yoyy388TqC/ITuQ9AyAuql2A=@vger.kernel.org X-Gm-Message-State: AOJu0YwxVz5YGjGC/tgf6m2jM92WERAtOn3LhcYZX4TP2uNsHtyWb+wG H0JNIptwWeYJpsxAIXu3W/OAw6O9VPTYdFBtGuMuwYPB3/2og1FAlMCEDhCMpioeaHo= X-Gm-Gg: AfdE7clXq4s+sGJmQhJhMbhQglwl3s4/HUhz8Yu3LHRy9p/YEexn2vHc7uyS8TeJIEn p+jWZ9xLsjjVr8NNUPVv8keBWZjEeM5LoIFDvnHQd14TbS3f48/WoK4x3S9JHlgPndENUwIusNT GZiwaMC1MuM+2DddPb3wU2hCHTsVOoEkOiByPqCVWPv0Agk+DM4NCPMHQ+iBzezzz4XHo/cBHpp SLLQfGh+X5LtW6kijz2W+1r/RNc6ahdRQXB8+HF7ULLQjFTzgNFt0Ni7RkSat1Oo5eUMcIx2tWw fc4AdgLbBIYd0Wmd5ioa7LN4Sx+3nsK30yMsOn6DYS+WnwJSYIrjhw7qt01SFW0LSW7F/jEmCI5 gm9a89gF4zeJQPRlFAQGPOPHBXWJK9IVT1UFGupvFL96uDTaGpRc+0fChWqAm8beJ3TBQc+2O85 xJuZm9KfDdW+u98frmT8uQ/lgMS4A+C31XbG61j7p6z31wSflhEm1Zkti8ze/f8ySA/lbV8AR/V pNk X-Received: by 2002:a05:600c:34c9:b0:493:f5bf:4dc6 with SMTP id 5b1f17b1804b1-493f87db53dmr121999225e9.7.1784013934063; Tue, 14 Jul 2026 00:25:34 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4829896asm4179394f8f.23.2026.07.14.00.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:33 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 12/20] gpio: Use named initializers for spi_device_id array Date: Tue, 14 Jul 2026 09:24:13 +0200 Message-ID: <16f9e5106e024be75d81d961789904646f877c07.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=2944; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=sgUY0S/Wf6RKVdL/O7MaAprFuyCblfcodNo+HtW7MRQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQ5bOVqLA0jNqOvnpZ6TFYaVn2PtX9Qqxw60 oz3MiaVcdWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkOQAKCRCPgPtYfRL+ ThRgB/0S8vlPK0ElJZy9CMQWoFSiGBFueCB8TxZq4f0kyaKb2RT2wNnvYBTeZku8+HxxQ+M5Yxb PIMggDqCVLui1qq3yxJkq2HqxerNkSw32zlvf2yDBwB2HpWNOxlCmyRwIVEs6lC9YK0MxB31qZP 7VqgBmwwN6zuN0+pHod0yGfCwFSeKAWJg1K7ScfI9CesmvHBK2s77JdDiSNmexAhymF/IohdKOy OX8esaeNcgwW3Bi0r1FCqKdgHrM4MnZB2CX0Lh/ILecbgsVfOlrHPWvCyJNkd/cYy3r3tbmr3Zg JTSgtvJLSBNDRa4SbOccJ3aDA+f5kN4A51JR/xZoB/VHA9nn X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. The mentioned robustness is relevant for a planned change to struct spi_device_id that replaces .driver_data by an anonymous union (though none of these drivers uses .driver_data, so this patch isn't strictly necessary for the plan, but still ok for consistency). This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-max3191x.c | 12 ++++++------ drivers/gpio/gpio-max7301.c | 2 +- drivers/gpio/gpio-pisosr.c | 2 +- drivers/gpio/gpio-xra1403.c | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-max3191x.c b/drivers/gpio/gpio-max3191x.c index 6e6504ab740a..b06fecc98633 100644 --- a/drivers/gpio/gpio-max3191x.c +++ b/drivers/gpio/gpio-max3191x.c @@ -449,12 +449,12 @@ static const struct of_device_id max3191x_of_id[] =3D= { MODULE_DEVICE_TABLE(of, max3191x_of_id); =20 static const struct spi_device_id max3191x_spi_id[] =3D { - { "max31910" }, - { "max31911" }, - { "max31912" }, - { "max31913" }, - { "max31953" }, - { "max31963" }, + { .name =3D "max31910" }, + { .name =3D "max31911" }, + { .name =3D "max31912" }, + { .name =3D "max31913" }, + { .name =3D "max31953" }, + { .name =3D "max31963" }, { } }; MODULE_DEVICE_TABLE(spi, max3191x_spi_id); diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c index c8bf6a9c3de0..9db20c22ba9f 100644 --- a/drivers/gpio/gpio-max7301.c +++ b/drivers/gpio/gpio-max7301.c @@ -70,7 +70,7 @@ static void max7301_remove(struct spi_device *spi) } =20 static const struct spi_device_id max7301_id[] =3D { - { "max7301" }, + { .name =3D "max7301" }, { } }; MODULE_DEVICE_TABLE(spi, max7301_id); diff --git a/drivers/gpio/gpio-pisosr.c b/drivers/gpio/gpio-pisosr.c index 2732ea8c16b7..75a8f3efaf94 100644 --- a/drivers/gpio/gpio-pisosr.c +++ b/drivers/gpio/gpio-pisosr.c @@ -150,7 +150,7 @@ static int pisosr_gpio_probe(struct spi_device *spi) } =20 static const struct spi_device_id pisosr_gpio_id_table[] =3D { - { "pisosr-gpio", }, + { .name =3D "pisosr-gpio" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(spi, pisosr_gpio_id_table); diff --git a/drivers/gpio/gpio-xra1403.c b/drivers/gpio/gpio-xra1403.c index fe0fba6ea902..3713475bdb75 100644 --- a/drivers/gpio/gpio-xra1403.c +++ b/drivers/gpio/gpio-xra1403.c @@ -185,7 +185,7 @@ static int xra1403_probe(struct spi_device *spi) } =20 static const struct spi_device_id xra1403_ids[] =3D { - { "xra1403" }, + { .name =3D "xra1403" }, {}, }; MODULE_DEVICE_TABLE(spi, xra1403_ids); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12D723F44D6 for ; Tue, 14 Jul 2026 07:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013939; cv=none; b=CFuR3ZAuxDOSgO+NA8l7Aws13tvmgwqzItHCgNFxOFFt2zsg97STSKr/0EKi/xSusRqXTw+jIdwH5eaSg8UInIhDifPEyxn2JfACc5eN+VlGEo1YJ1d286d+mYAic8ElabPYDrnu3zTn71b8QxHqkFhIVuc/OPBFAC9WqirpxTw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013939; c=relaxed/simple; bh=zK32KFTfK2VeZqkps/3UVR2LG/9RZKDrXVPkrweLYjs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=G+t4SzjsoSrQ7LVXcbt+qfKo2asQ3U8jPQt8zD4eHgZMdynGrqCoFi35KHLE67HaVbYSOuwlvPXd20tE4JvYo5FJgVijEAYX4YtWe+qNLlnzNZEGWAiX/IFcS7QMakDR4DCkggU6GaGEgs8Ce2VUFKWG/wI5Peu5ZRUXIBHzs4s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=aSk3KKP8; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="aSk3KKP8" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493bf73ec2aso27256415e9.2 for ; Tue, 14 Jul 2026 00:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013935; x=1784618735; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=OTtEYT4IybISQ68wyIhRqfBdv7sO2ZJrx2Yj4/Wp88U=; b=aSk3KKP8i3kYUw9tK50WuYS0HDw1I21nSjPX/3f9hfVCXqg8BphlfrJin06SD7IMF+ tUBW7dVi0SD9JcYUnNVutFQse8DSGEGGQ66zfi12Nkm3tSkfhsnVmw45UIoiS5Jtdi4V kDDFgOGvfrGqD5VM3LRzSqpuxgAs7Vg1sMX1yPb6XRlURuwo5IQpIjFlrkYAdGEte2LI I0twfP9RBMeAJzVlNzm+K11qvgGDLxdHRmyfJrx1X+u4yj3ckYIdF/mk57Rvz0P+AaBX ol9b+ULe6hKB/dLu6CHZg5dmH+nW1kegJ7jROB+ewMbnT1Fvc+PKqrdeUEgz/tKh9Frn XTcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013935; x=1784618735; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=OTtEYT4IybISQ68wyIhRqfBdv7sO2ZJrx2Yj4/Wp88U=; b=prA2FjablLewqtKR1d34JE4rA+xbVjAYck6/2em1Rm1xmTx+YebCkc5DcEEEYz8O9N U67SIWPVuXLOshztHIYqpUhcFr9zAZUMggq6eGQalUU7Gt1MqCuT2RAleJ7qcvKEF7GU ZCC3Hfse8le7cdlOeEJX2StFeLGry5wQJ+/j2hFxkNo3CjowVI6JKHn0rSyfJa0/MxYB dMOTnH3VD89IpQXcvibtW5b4f2hya/Mlghs1ZUbR51X5f6+4NWe3qKDZts6CHQeDttfS DDa90IOfjKp6+bFx3ELH7YI4PeW0tDtiyxtOJZbQM+J9pnzZErdLvAw+u4Nd0Rry8LmY qHiQ== X-Forwarded-Encrypted: i=1; AHgh+RogAjVohciD2ZFamxQf6401yKVSkCbXAjzNK4naOZSG6UiqXBMo+zEg9tWjOkjn/lR6XP8PNgkZ68LHjOc=@vger.kernel.org X-Gm-Message-State: AOJu0YxudYw+aeLPTOS6FH6XUTscqC1kEV7s3wZM3hQv7mYqVBLWfgpP FdF2e7mmVA9Rri7v5YL98Hluo9TVJ+OvoApPlIXyJqtx+f6qy7uC42hGSt9WyMyrJWQ= X-Gm-Gg: AfdE7cmSoTDhlemfoUYbw7w4I2OqKQ1vYBj21Y+DTmBdQuATg/Hi//3Ua04TpkSqL9Y L2tk4YKxIiWXrJWY2oM2BS/C2iGhLNdpIebLjy/DmH0dOzQz95FOpVfgm3cZuHRiqusIgCt+/73 AlVcgvKt92n9Wskr6I3zy17vqMaDMX5baNGRmCTSlxjmJBpKoD90c9SahNG0bdT2YPfrqp5IJb7 LES9dN3arzwANyJn89/jLOR4oPYYu2f5hhMuZPwbsZC3jjFERJ4c+i8eJPTXiarYLjWsFaHe3oU dU4DlRZ/mZIEgMrN5yQqSiPYTrlnSxpfXwIG33EZrEZDnUAR0AgdF4Mi6jX6Shw7eWoDNpOr9m5 +ypL6yug7rgZyokhZFp047JrYqBudTqtxZ1uXYiR+yYzWcsXgcB/UlU98ExuHxCO6oc17XIQebg g/eNjliHbzdK3GA+vDnSIpXwDBxe/GSQoTd+bkdy6PiIkldIR9dz61k8YcDtEXCmLNVoXQaFOFs tEy X-Received: by 2002:a05:600c:4746:b0:493:e034:a3b5 with SMTP id 5b1f17b1804b1-493f8818cb0mr137611825e9.24.1784013935594; Tue, 14 Jul 2026 00:25:35 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-493f2d97527sm370187275e9.2.2026.07.14.00.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:35 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: "Enrico Weigelt, metux IT consult" , Viresh Kumar , linux-gpio@vger.kernel.org, virtualization@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v1 13/20] gpio: virtio: Use a named initializer for virtio_device_id array Date: Tue, 14 Jul 2026 09:24:14 +0200 Message-ID: <1f764e00e8cbe7624f4c9f3d8e5c368fd9a13e08.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1041; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=zK32KFTfK2VeZqkps/3UVR2LG/9RZKDrXVPkrweLYjs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQ8jD+oZAE7W5RXF8rKJUVerBaw/+SR/Ptvb A6uSgxdM8mJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkPAAKCRCPgPtYfRL+ TncWCACxbyPh7OXwKnrY3teE/nhaOHCimlr7xEX7xf1tiLRQ/ZNVnlSU5LsOUMmenvmSyuvt9fC VPvSlR+D9pSJO/stSpJqY2kgjflibPOZu1REykCiz0Ip+bMfzhru84SFm+JMSX3xdLmqsLtjKZP GsuT4ghM2n4ZNJ12CeYNmdeKAOCalR0bIwVFF9eqA/nonLt2GLo04ANip11W8u4/hEJY2JoM+tK SndFhJGFR/PRKG3tsUChrDuGz7k0SrG37zqDQ49lWHcU1+Ke6g/SEDDXehXubqDNo0szl4NAjYC w5iWTkMyhZqiL0oNvM0CLi8lEtVXz+QOAGRM5ORZ9HunZ/ND X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. This patch doesn't modify the compiled array, only its representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Acked-by: Viresh Kumar --- drivers/gpio/gpio-virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c index ed6e0e90fa8a..42871db05ec1 100644 --- a/drivers/gpio/gpio-virtio.c +++ b/drivers/gpio/gpio-virtio.c @@ -646,7 +646,7 @@ static void virtio_gpio_remove(struct virtio_device *vd= ev) } =20 static const struct virtio_device_id id_table[] =3D { - { VIRTIO_ID_GPIO, VIRTIO_DEV_ANY_ID }, + { .device =3D VIRTIO_ID_GPIO, .vendor =3D VIRTIO_DEV_ANY_ID }, {}, }; MODULE_DEVICE_TABLE(virtio, id_table); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9A393F4859 for ; Tue, 14 Jul 2026 07:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013940; cv=none; b=p7SIO8AqpfTTjGmlTn8APE7a7r1gOYe4cdUIevQu/dGNYhMD+9WSpApSKQXGvVdjEl/b/qnjpWwIoMCtQ3hE8zWyruYVlASHbhymoYHRPsdApGeWRMwTQghT/crJGwTHpp/xfyQigTn7NmgsXFEL4Mu0SVBGcY8X+h5LUkVhJT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013940; c=relaxed/simple; bh=pjHW7pyDQ4JEIlbUWB07hiJX/g0Y55VniXF+f73xk6U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sTLO7QnR+2Qz01dTMI89aI21NVRaeM0fzHckjbc1s2RVYs7K3xw9SsUQpxm5ZsZ7Nhxta8b4icEG3tyB2qP/V+zRM2+gN8acXW7J9wMuoFXZxGw0f4auj2yo5zvqyRthPHnZKtWckxThqn0X64/ARZu8BzIgSkvBuFZMBJs66NY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=JVwQI0U5; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="JVwQI0U5" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-493e8d4f4dcso30808555e9.0 for ; Tue, 14 Jul 2026 00:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013937; x=1784618737; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=tQuEWsCiWaG4AgDHABsWBe4T6yvitv8nY29ehlGtKhs=; b=JVwQI0U5LUpbdNRWURTVrtAZjpM/Ymk95oH8w1f6/2PMQYD5UrssP53rM4O8TyWKno LHIlFzfO8PKd89llWBvgoOrxxOtLzJRj3HpaAXSq+i0sN83j7lXI0jLmxv+vXBfNIJJe qN5wsO2LuKRaOFOdraBDVDVcYt3QdODZ/kdV7skgQS2cAETFEEfEW/fRaUZc6TKApsxy JZSn6wY6bBAoAA/QWg9q2Kzlu6aNx5zS2n+8HodOGpLMbZ4WVSLkRd8KTQkPpWktpY6O B/h1ocHq6rk2Aj5ionQjfyzHMF5x2Qjws/TW/PtqPjUWl+//55YrcbBwBfYxcqFVlLAP xIwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013937; x=1784618737; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=tQuEWsCiWaG4AgDHABsWBe4T6yvitv8nY29ehlGtKhs=; b=W51Xfg/BbekPtsNnrP61LzAFAJOwGahzTULr9IY/UsChWVC9sWEiVOisQD9KiD3mAS 5LINA1qQR08L1acimiFRTh6ffSGLwZ3wnuhpzxSJfs8QV9TM9/tL5RNw9lXa2PhB7yhc LEf5YP5ozWG3M2gdIOggD8IqhfFZmfxRWdIp1VgWboZ0EVtIcU1rXSwFSZqMgN2XgEeL qea10Ho4OXlIbhQ7r/KFO5mCf92kJvpttJf9rme8Ch4pEQT0pCXV0XnabJ3tUh/v1eA7 zBHB/4JUZvRX3ak9Zqx+kVEb4sTWK2/iStVjA8ToUzUA0/XvL+0ZoaiUBP0dcopagsqY wUmw== X-Forwarded-Encrypted: i=1; AHgh+RpdZEedieWKgRh4BaHbrymZwLgvjtAh1lksKUgGw0cER+0ZzpGYxTrnaqJ68qTlYZaIycMuPa5in9idgMA=@vger.kernel.org X-Gm-Message-State: AOJu0Ywe8RnvORmLea5IILMHPQXXgGicjvWm8FKuYXd/fKAQi+U091v5 Nr3NM+voWeyG64QeJlgd4OjrC30v8cGv+WGRoLWJEgdjBBsA10I2eZON8yCQ0tmB6fU= X-Gm-Gg: AfdE7clhRdqYXW5IRkl+9flGfdFuzdzMIZRZKyqIFj7B0BWXUNguV5mCucI3L6gGRYG MNIyrMveu01M0AN+XJDA05MTTrhDbxeOup54qhWdk70p6VWvw65FzcrG/zUp7WBhneUGLMMHP7b c9fSr+kDMX0EO+uqkuVtzotXWkdPxBpRYUIPU2fOgYlhsLB81n1UBbPF/NeVN2qSxnb50HFPrik ufZ/LdF7wEqoDAkvQzouHcfriviJmUBfiVolhfOnv7Y5JNG03aej6iuDxCoMS0xiqrsmXQL4BIR +mFkl3f/Zuqpr9Pct6kOuNGnDaezy4rlCZoJEyl9sp8zIhvXFky4lawtUQG7OWfrJWWLCxQRPo0 9vCiizxbZgqNgWpSYyDUsRJTjbS3wtm2JAR0wLBK8he1I8xKaUiBs4GMWCr5q6CztU6+wutNsCV DaBhYQmw0JPcrNPDuIhq0/dcwegqP4GtsOQHLAMEqJj1bW80T3Hgqyp6zAIsG67WTmbvKJzgYKK ycw X-Received: by 2002:a05:600c:4585:b0:492:4e1c:120 with SMTP id 5b1f17b1804b1-493f883260dmr126952875e9.32.1784013937223; Tue, 14 Jul 2026 00:25:37 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2f9402sm59110045e9.13.2026.07.14.00.25.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:36 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 14/20] gpio: pcf857x: Use named initializers for of_device_id array Date: Tue, 14 Jul 2026 09:24:15 +0200 Message-ID: <3d23c5e19dba1f86c05f3c7f49f5e93963d461d0.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=2484; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=pjHW7pyDQ4JEIlbUWB07hiJX/g0Y55VniXF+f73xk6U=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeQ/Uja/qAzOXNem/3XfKMpoQBSnuv5zy2deX 7pnFN0xEvuJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkPwAKCRCPgPtYfRL+ TjzwCACu8DYJB692H05EK4q9ZTLMvnqyIk58nEFcV1oYf6NhBuXwcHdeBH0znVI0OgDVLShL8wO y8Kg8m5NBDJOJZxvoH7Hsa8OyI8HVnbqA4FNZ6QJI4nud5B8N+0AK82O93l5gEWSv4c6NnkLGrT OhryX+ycuf/GFp7iU80L9Et+bahKMypYOrMnEqT08Hn2v9hZ9lQQzlzP2TvkofTX9n5vAQbt8mu k/4bw3+nlYZmf0+S8Cn5Djb8bAkjrBpNbTmpYQMxAyn9DqXYoC8OITbFJGwjh1Uo3Wd8cYIYtUO m2rguG6HSxutUaZeo81clRdvKLJZXuBejd3bom1tDIYCEGq+ X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. The mentioned robustness is relevant for a planned change to struct of_device_id that replaces .data by an anonymous union. This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-pcf857x.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index 4196916c4f94..d6f0b571223c 100644 --- a/drivers/gpio/gpio-pcf857x.c +++ b/drivers/gpio/gpio-pcf857x.c @@ -37,19 +37,19 @@ static const struct i2c_device_id pcf857x_id[] =3D { MODULE_DEVICE_TABLE(i2c, pcf857x_id); =20 static const struct of_device_id pcf857x_of_table[] =3D { - { .compatible =3D "nxp,pcf8574", (void *)8 }, - { .compatible =3D "nxp,pcf8574a", (void *)8 }, - { .compatible =3D "nxp,pca8574", (void *)8 }, - { .compatible =3D "nxp,pca9670", (void *)8 }, - { .compatible =3D "nxp,pca9672", (void *)8 }, - { .compatible =3D "nxp,pca9674", (void *)8 }, - { .compatible =3D "nxp,pcf8575", (void *)16 }, - { .compatible =3D "nxp,pca8575", (void *)16 }, - { .compatible =3D "nxp,pca9671", (void *)16 }, - { .compatible =3D "nxp,pca9673", (void *)16 }, - { .compatible =3D "nxp,pca9675", (void *)16 }, - { .compatible =3D "maxim,max7328", (void *)8 }, - { .compatible =3D "maxim,max7329", (void *)8 }, + { .compatible =3D "nxp,pcf8574", .data =3D (void *)8 }, + { .compatible =3D "nxp,pcf8574a", .data =3D (void *)8 }, + { .compatible =3D "nxp,pca8574", .data =3D (void *)8 }, + { .compatible =3D "nxp,pca9670", .data =3D (void *)8 }, + { .compatible =3D "nxp,pca9672", .data =3D (void *)8 }, + { .compatible =3D "nxp,pca9674", .data =3D (void *)8 }, + { .compatible =3D "nxp,pcf8575", .data =3D (void *)16 }, + { .compatible =3D "nxp,pca8575", .data =3D (void *)16 }, + { .compatible =3D "nxp,pca9671", .data =3D (void *)16 }, + { .compatible =3D "nxp,pca9673", .data =3D (void *)16 }, + { .compatible =3D "nxp,pca9675", .data =3D (void *)16 }, + { .compatible =3D "maxim,max7328", .data =3D (void *)8 }, + { .compatible =3D "maxim,max7329", .data =3D (void *)8 }, { } }; MODULE_DEVICE_TABLE(of, pcf857x_of_table); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AB313F0761 for ; Tue, 14 Jul 2026 07:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013942; cv=none; b=q/KW4g7LO6KPy+UFRfCNgdQQRgEyWZ4I9hPrswPcKEDNlQfOK1MFKMP/D09BbU4F6UqJ9D5GMrf0w/R06iW/xPUFQUp88zQ6OTxRSMg+INGHugiwyVDXfREJ3hweTFDXvhYFjcmhEwIZyyOpa1KaVsvOC+kcLRMZEy3KxbzALeE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013942; c=relaxed/simple; bh=PfHNgIxFer1cIdDIDY78v9FhhYd7z/p/LVKOXhd1U1A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WhXq9X8fcV7hb2HeCV3/dVpJfnwpijCynFPpph1ts+m60m5wKK0P0EDylb0/viXoWWnFCAHvuZAEZ5yNXIA5lfHkRQCd0YYpoLw1oin8VTk0vWkw3uknkUyFccxfSwV0vrJV8yUNsAJvKDgu5+ArlCDU6INOvivgUdnVUwGxwes= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=T612YasR; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="T612YasR" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-47122683cf3so2163245f8f.0 for ; Tue, 14 Jul 2026 00:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013939; x=1784618739; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=tKVpcpbupyOx6Fl5F9vu5I2pPM7w5ZPxAr6QRyujKkM=; b=T612YasRMniUffkSet+0Dgy9BhiOj4wKciTxof5AQyqOgN8xiABZG1KZWBGM7lB11a Eru6kKr9gylsSM6U89xv/5DrIZrZ2VJ/VJ/4UvwN68UZBa4SrfYL0WmyUNJlkisUIZzY q1+Kx9XStUoSvk8pAomAMtgasBu/nCcbE/09rbO9Ous3nXuO0iw2Uospcc2IAJgU2ali yyXPki67pvlkxOBaJtimCmih1PNvpIgBSFX2z/ZqYpOEalBxgNy/c+PEcM7Etbs5chd7 lMaLy/V0oVAarHQ8vGqf3Bw9RLNVLhJZP64o1y6zVSfx4bDXxOQZyI76231UDMO4HeH9 VSIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013939; x=1784618739; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=tKVpcpbupyOx6Fl5F9vu5I2pPM7w5ZPxAr6QRyujKkM=; b=QK/J1s6SEEaVdXe/ZnEVNrLAUu8cStK7sAnRiAt933pLdkKl1vfHkBSYKpbY4ncqtr 0OiIDOZAZqpxjy9z5izqJ2YtltWj3euIxQZ+SzGYKi6SUNSbuyQVOVsRMnCLRPxggua+ R7DkEvB8/n9WDluxNqBA5HuZzkgXoV0BwoGEaxYDn53HiovhpYvOe6c+QHN7oZPyClFc 1DcUpvtJyBVNlBpQWhrY9efKLZupvggc9COlqAsPqklepRfGAslSEFp1Q45XjlsyRjDi b0BhFBOvd2QuW8Cg7bhuFHiDKfq1lA2Od0ej+GvTZ7ZKvYtjsboJN2r0r7XkIIzHKcWd dD0Q== X-Forwarded-Encrypted: i=1; AHgh+Rr8BjO9ZPVIzkGc5WWCCuPsBjm1KMaK7KMvt0QKH/ynN72LgGhr7fxmLIYEMwadi8EGOlWPw06iDSbkjTU=@vger.kernel.org X-Gm-Message-State: AOJu0Yyp64kcts/EEM/tSNDEa44U5MHxkcPMm0aBhxhgmd4NqjjSYFg0 HnT5aSINAzmjfMUIO1KDA6RUoodejqMHnqLPwXVXFQ6OwGDQXJfZEaIqfD8fK+fwB/w= X-Gm-Gg: AfdE7cm4TJBtxLR5H4RwaC5t8PxY1RowRR5CjgsuimgJ8XIP1JL4swPeJteCMFItd9f a+FgZyfCCWyqIxrykOQVygUHxbJrvBKrogdxgUEB2DmMkJ7icg3euEhzyLZEYtJyYiRiIESrdVK 5wCTNoGuGLsrBjBKo5ZV2aSVhmy+AVuw2Y16sjV5wG5bmF33opKN9M0dEMb3xzdqqF+R16ipdtB E+/XM0bXKeCe57WXsrsT1PktbxNYAXOLJHzNRv+v1qdjv89ldPOiqugf/0Szc9GjvWhJzf+0cU0 wxkBkDJaT/w5ftAvJB7whYczllp3iRrdA9gs+wQONwFU8C6OJAdd4OiKj0ZH4kdzuyxkYZyDocb DX0wbXKM6ZRDhvTEgjthPeuef9SBou4N+bQW6IUFPZmgAr7T8OLiVL1rlab2nNHQq8leVUUVjfN H3+N4GjYuG6dncT2JzcJ7Ouy+/bDMOV5eqEox31rjdbrcOgiPCqLeEYh9MjPX5VJZt2etNhFriU gExxMy2Ly0fy3g= X-Received: by 2002:a5d:674c:0:b0:475:f0f0:9ef0 with SMTP id ffacd0b85a97d-47f463a496amr2537068f8f.53.1784013938828; Tue, 14 Jul 2026 00:25:38 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4635a9cesm5951456f8f.14.2026.07.14.00.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:38 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Andy Shevchenko , Yang Shen , Yinbo Zhu , Alan Borzeszkowski , Mika Westerberg , Thierry Reding , Jonathan Hunter , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v1 15/20] gpio: Unify style of acpi_device_id arrays Date: Tue, 14 Jul 2026 09:24:16 +0200 Message-ID: <0b30d3cd699a41fb066903b1b9a6c231bfe49305.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=5683; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=PfHNgIxFer1cIdDIDY78v9FhhYd7z/p/LVKOXhd1U1A=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeRB0ObMrDvo6qsv9BkMTsRdwVAr8lST6Xuz2 wGKMRUJTUiJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkQQAKCRCPgPtYfRL+ Tif+B/9IWoa6wxVJxNkbuvjzYyEh36gf4GD10R6l/t05HUhOBtS3xumrpGhfOunhU04lLqtwGfu tpuFtJh1EOfir8rM19SGM4b7jF1cakriwKBmj2KzMzoyPEul9GdA/tLP7s1OqdQhF5rp1u/YCXc 5wKIu82/eSikme6Sve8S/NB3WCMV2sXovhocCkcVdb+i9TtiCd+Q0ZCekkYNgY20Q3twec27Y7/ fomF4dsU7fmnegowVPRc4Aja5zzujgOLgdvirH5iEEV28nO+EOtSdnjh+YwRxltAjO3zW7bkKwY DhI4gjsh15MJO2XykY+tpbDGb/lgxRJHFb+Yd3N0WLokSsEv X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various acpi_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; Adapt the few offenders accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Reviewed-by: Andy Shevchenko --- drivers/gpio/gpio-amdpt.c | 2 +- drivers/gpio/gpio-graniterapids.c | 2 +- drivers/gpio/gpio-hisi.c | 2 +- drivers/gpio/gpio-loongson-64bit.c | 2 +- drivers/gpio/gpio-mlxbf3.c | 2 +- drivers/gpio/gpio-novalake-events.c | 2 +- drivers/gpio/gpio-tegra186.c | 2 +- drivers/gpio/gpio-xgene-sb.c | 2 +- drivers/gpio/gpio-xgene.c | 2 +- drivers/gpio/gpio-xlp.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-amdpt.c b/drivers/gpio/gpio-amdpt.c index 32c4d0ee8101..74b40e2c3485 100644 --- a/drivers/gpio/gpio-amdpt.c +++ b/drivers/gpio/gpio-amdpt.c @@ -128,7 +128,7 @@ static const struct acpi_device_id pt_gpio_acpi_match[]= =3D { { .id =3D "AMDF030", .driver_data =3D PT_TOTAL_GPIO }, { .id =3D "AMDIF030", .driver_data =3D PT_TOTAL_GPIO }, { .id =3D "AMDIF031", .driver_data =3D PT_TOTAL_GPIO_EX }, - { }, + { } }; MODULE_DEVICE_TABLE(acpi, pt_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-graniterapids.c b/drivers/gpio/gpio-graniter= apids.c index 6a77a5864d09..72be289c65fa 100644 --- a/drivers/gpio/gpio-graniterapids.c +++ b/drivers/gpio/gpio-graniterapids.c @@ -395,7 +395,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(gnr_gpio_pm_ops, gnr_gp= io_suspend, gnr_gpio_resu =20 static const struct acpi_device_id gnr_gpio_acpi_match[] =3D { { .id =3D "INTC1109" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, gnr_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c index 1a89695ce515..f03df71e3296 100644 --- a/drivers/gpio/gpio-hisi.c +++ b/drivers/gpio/gpio-hisi.c @@ -223,7 +223,7 @@ static void hisi_gpio_init_irq(struct hisi_gpio *hisi_g= pio) =20 static const struct acpi_device_id hisi_gpio_acpi_match[] =3D { { .id =3D "HISI0184" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, hisi_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-loongson-64bit.c b/drivers/gpio/gpio-loongso= n-64bit.c index 0fdf15faa344..d76c3cf177d1 100644 --- a/drivers/gpio/gpio-loongson-64bit.c +++ b/drivers/gpio/gpio-loongson-64bit.c @@ -556,7 +556,7 @@ static const struct acpi_device_id loongson_gpio_acpi_m= atch[] =3D { .id =3D "LOON000F", .driver_data =3D (kernel_ulong_t)&loongson_gpio_ls3a6000_data, }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, loongson_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-mlxbf3.c b/drivers/gpio/gpio-mlxbf3.c index 99b880596330..dd4df1fba60a 100644 --- a/drivers/gpio/gpio-mlxbf3.c +++ b/drivers/gpio/gpio-mlxbf3.c @@ -272,7 +272,7 @@ static void mlxbf3_gpio_shutdown(struct platform_device= *pdev) =20 static const struct acpi_device_id mlxbf3_gpio_acpi_match[] =3D { { .id =3D "MLNXBF33" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, mlxbf3_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-novalake-events.c b/drivers/gpio/gpio-novala= ke-events.c index d5a3bd48bed3..113a4069120a 100644 --- a/drivers/gpio/gpio-novalake-events.c +++ b/drivers/gpio/gpio-novalake-events.c @@ -305,7 +305,7 @@ static int nvl_gpio_probe(struct platform_device *pdev) =20 static const struct acpi_device_id nvl_gpio_acpi_match[] =3D { { .id =3D "INTC1114" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, nvl_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index d9a2dedf50ea..e94eaf23a5db 100644 --- a/drivers/gpio/gpio-tegra186.c +++ b/drivers/gpio/gpio-tegra186.c @@ -1543,7 +1543,7 @@ static const struct acpi_device_id tegra186_gpio_acp= i_match[] =3D { { .id =3D "NVDA0608", .driver_data =3D (kernel_ulong_t)&tegra241_aon_soc = }, { .id =3D "NVDA0708", .driver_data =3D (kernel_ulong_t)&tegra410_compute_= soc }, { .id =3D "NVDA0808", .driver_data =3D (kernel_ulong_t)&tegra410_system_s= oc }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, tegra186_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 6f2907468507..30b6e9f3f8ba 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -340,7 +340,7 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); =20 static const struct acpi_device_id xgene_gpio_sb_acpi_match[] =3D { { .id =3D "APMC0D15" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match); =20 diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 84c1cc165024..f4adf2962557 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -196,7 +196,7 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id xgene_gpio_acpi_match[] =3D { { .id =3D "APMC0D14" }, - { }, + { } }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_acpi_match); #endif diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index 50625f98f8e2..d659112d7f1c 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c @@ -306,7 +306,7 @@ static int xlp_gpio_probe(struct platform_device *pdev) static const struct acpi_device_id xlp_gpio_acpi_match[] =3D { { .id =3D "BRCM9006" }, { .id =3D "CAV9006" }, - {}, + { } }; MODULE_DEVICE_TABLE(acpi, xlp_gpio_acpi_match); #endif --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7D9F3F7A88 for ; Tue, 14 Jul 2026 07:25:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013947; cv=none; b=VBuENwUy9MSOWujUE8U1NJQstTmfwc6o3GILuWvDQKo6/iOED3X369yv+dL57NXHWRkRHdIXvY7PhVNagjE/n77baBl7JM8Rjs5brKTRF17yJ0OZ5gCIQfUU0rZ0ZeRQ3XpltYrM9uclUhskyZEBNlJCtCTJxq2K0/NtFZUrcB8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013947; c=relaxed/simple; bh=nTdOcoK/nWyW/rkofbp0w0DGb/LYPCTlxZOuQMt5Oao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BOqbqmosoBFQp7Pq+wKlCfRRm0Ifj8KfMVQSmm4p6nb/fwAVctpcHwuKh6Ut//UE3jIcu7VYY/X+nIl2a8tcjYFF9Y8EP8//k2mBucd9VKpVDMZpTCKwxNdn/QWbAsf53VQNmOodClKgapRVScGZoDHs5ruZ8lNmFv9hqTBUgEk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=paPKPCN3; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="paPKPCN3" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-493f0ae9572so15982245e9.3 for ; Tue, 14 Jul 2026 00:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013941; x=1784618741; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=mgdjt565OXZhAriQ2MT8qRHkh1kb+LM8RQGkUtmtsS4=; b=paPKPCN3Orb64XvLKuGyrOhjVAl2WDIvfAd7DWwY0I28Tv+PJ6PKVl5DbbdsXi+9bl /XKIe9K56qrWLqJPPbg+DqYK+O11fwuWyP1AkuZzAkPB/mnpB390wfhI8N4MruIPRy0n b5jBXAcpUlztzqGBNsUKnqlWijduDWMyZ82Z0xde2Z7BJpIBBSzdXzGc5yc3CdIDID39 TUcoc1aT3XyJSFh6mO0Sy1Q9iuhhArUgX97tAjJZvDdCVCFOo1HAlUpIVXaQNEU6Db7d pHHLG9Yy7kO21/hN/lNfU/fdgg12J6K87s2u+6+LjgdsmDS9KwRtsNj6B/uxu7Emt0aN gWdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013941; x=1784618741; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=mgdjt565OXZhAriQ2MT8qRHkh1kb+LM8RQGkUtmtsS4=; b=Kg9/ssN2FACcFX+QtYdyoiU1+tyAJbJQX8GCw2XbeuObjnRJiKckTRQrcTuNJRqo/6 +oTtEV6ldidcYgxU2mlZ9FMQqZAO+jRaX3S+wezxGpfXdUngjftE2koXXsl+42v9mx5f iQ7+9aAvL2RkZlOpRY6fHhY9HSmxSTzj4NP5w113B8T/mTeBxS8J5jQ5ESaNBGZTMRrN /CptumOTacok0s7ivB4sxLcn1w5ZZ02F+14b1ED11jJl2u1tk4rUXu9A2RH/6YnwZwiP ISozWf85VQ6TQKHIr33bLq6/k8ou9Jus8M7e0UzqFIIzNpfKh2r/QZHEo1kHlYtAE6OH gM/w== X-Forwarded-Encrypted: i=1; AHgh+RpoM+Hc7sdgQ7+Ag5BVRI1o3vu0wctheGGuqWXqpCSRWt0R2qRrjtW4g+1HOl4oKxPq38dKbCGp6n+RR5A=@vger.kernel.org X-Gm-Message-State: AOJu0YxhuOWnPgjL8fTSE2T9lPWTui5Y0OJ4zhJKfB41KJJCQgGkfmU8 IGHrNKUwNRS483WjpItOxWS4Wv5NxXgC9ArnnaUQ3+QoRhhVzRUI7GtF5HhUR0Yn2a8= X-Gm-Gg: AfdE7cmgm7WlJebXUCB+M3lbakYOnHRVrb71RBku034wXc6/jESq7Ty6xPlmTPtvSuc p7W7ooQGFYQTtF8wA4Ban57OCbkDpcKEE39shI+gSCJew7xV4AN69a1WZK5YjkMUTu4PVy8uWJ0 zeVHOwXfnXHZkjR5QKFeNjSnrUPwS6HMHkZGIYFZtGnlD8RcAfmgA5iuDgw/qW9SowGV71iV9xW L/ZBHWUxIWdIKytdS3Km86wJFrotCQQcD3pXI8Z/pm3GwWSJKaHD8gavBjx9zemoP9kwAhnzqOi yTPi4MalcLch0AgrOUBh+XRUGksy6DGnFODjLTKIdY3+TuDPqQ3FnDDis1FnZQgZV1D+Tqa2F5M +cUa2OUYVrq5dX+Grgs+7Q0JUIKL3tKDaIFY6QGzk4VjcEmd6vGlI2+eGcNCtowPCPYCmZ6NlE8 4qzeXp8Ga0IgYqMDFslYTwEWaiEMT7fHJP5eQCuUbIvtC21nm3HWUwrzRVtPWsMDKQjXlqPXewJ zwX X-Received: by 2002:a05:600c:a42:b0:493:c77c:108a with SMTP id 5b1f17b1804b1-493f883c8ffmr128451425e9.36.1784013940652; Tue, 14 Jul 2026 00:25:40 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a32b9f3sm63335725e9.13.2026.07.14.00.25.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:40 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Geert Uytterhoeven , Adrian Ng , Joel Stanley , Andrew Jeffery , Alban Bedel , James Cowgill , Matt Redfearn , Neil Jones , Nikolaos Pasaloukos , Doug Berger , Florian Fainelli , Broadcom internal kernel review list , Eugeniy Paltsev , Keerthy , Hoan Tran , Yang Shen , Imre Kaloz , Yinbo Zhu , Vladimir Zapolskiy , Piotr Wojtaszczyk , Sven Peter , Janne Grunau , Neal Gompa , Mathieu Dubois-Briand , =?utf-8?q?Andr=C3=A9_Draszik?= , Bamvor Jian Zhang , =?utf-8?q?Marek_Beh=C3=BAn?= , Matthias Brugger , AngeloGioacchino Del Regno , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Orson Zhai , Baolin Wang , Chunyan Zhang , Robert Jarzmik , Manivannan Sadhasivam , Heiko Stuebner , Ludovic Desroches , Paul Walmsley , Samuel Holland , Michael Walle , Maxime Coquelin , Alexandre Torgue , Thierry Reding , Jonathan Hunter , Nobuhiro Iwamatsu , Ray Jui , Scott Branden , Shubhrajyoti Datta , Srinivas Neeli , Michal Simek , Magnus Damm , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, asahi@lists.linux.dev, linux-mediatek@lists.infradead.org, imx@lists.linux.dev, openbmc@lists.ozlabs.org, linux-omap@vger.kernel.org, linux-unisoc@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v1 16/20] gpio: Unify style of of_device_id arrays Date: Tue, 14 Jul 2026 09:24:17 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=41700; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=nTdOcoK/nWyW/rkofbp0w0DGb/LYPCTlxZOuQMt5Oao=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzQJy47vYKS2yxNuvQOsqbF3nz4do3I3MalTz0iFgR0f hHObq7qZDRmYWDkYpAVU2Sxb1yTaVUlF9m59t9lmEGsTCBTGLg4BWAiR35wMOxa/EjeZWZu38JZ j41CjcMj2ysNCmqPfl4v7sSbVKVQnifHM/ftJeemu3KxDvYx61anqeVvczL7+/roy8YDs+vaOh7 27RTPebqxI553fWHBMqnI1vcMeX7qARk3K4y+2Bcc3+vMJXXv3MSEKh6P+A99jGIFK04a3OJhZu Y5Wh+uqv4jtn9/4nejo0oXt/vzuLzzP29Tump13h17+YchK/4mmPREckbnqLw/GuxnG2RyOCXxk KTKt8csOyyd/aaFSN/XzS/tWZjQnn7NxzpaaWfOmUM1k+dMvXyw4+C5TQ1vNZW+NetwL+BcEGv5 ymzSeo5HMiGfC+6tYQvXOjMndy2D6EW9Bfk8W7Ywrm8DAA== X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various of_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; Adapt the few offenders accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-74x164.c | 2 +- drivers/gpio/gpio-adnp.c | 4 ++-- drivers/gpio/gpio-aggregator.c | 2 +- drivers/gpio/gpio-altera-a10sr.c | 2 +- drivers/gpio/gpio-altera.c | 4 ++-- drivers/gpio/gpio-aspeed-sgpio.c | 10 +++++----- drivers/gpio/gpio-aspeed.c | 10 +++++----- drivers/gpio/gpio-ath79.c | 2 +- drivers/gpio/gpio-blzp1600.c | 2 +- drivers/gpio/gpio-brcmstb.c | 2 +- drivers/gpio/gpio-cadence.c | 4 ++-- drivers/gpio/gpio-creg-snps.c | 4 ++-- drivers/gpio/gpio-davinci.c | 6 +++--- drivers/gpio/gpio-dwapb.c | 4 ++-- drivers/gpio/gpio-em.c | 4 ++-- drivers/gpio/gpio-ftgpio010.c | 2 +- drivers/gpio/gpio-grgpio.c | 2 +- drivers/gpio/gpio-gw-pld.c | 4 ++-- drivers/gpio/gpio-hisi.c | 2 +- drivers/gpio/gpio-hlwd.c | 4 ++-- drivers/gpio/gpio-ixp4xx.c | 2 +- drivers/gpio/gpio-loongson-64bit.c | 2 +- drivers/gpio/gpio-lp3943.c | 2 +- drivers/gpio/gpio-lpc32xx.c | 4 ++-- drivers/gpio/gpio-macsmc.c | 4 ++-- drivers/gpio/gpio-max7360.c | 8 ++++---- drivers/gpio/gpio-max77759.c | 2 +- drivers/gpio/gpio-mm-lantiq.c | 2 +- drivers/gpio/gpio-mockup.c | 4 ++-- drivers/gpio/gpio-moxtet.c | 4 ++-- drivers/gpio/gpio-mpc5200.c | 4 ++-- drivers/gpio/gpio-mpc8xxx.c | 22 +++++++++++----------- drivers/gpio/gpio-mt7621.c | 2 +- drivers/gpio/gpio-mxc.c | 2 +- drivers/gpio/gpio-mxs.c | 4 ++-- drivers/gpio/gpio-nomadik.c | 6 +++--- drivers/gpio/gpio-npcm-sgpio.c | 6 +++--- drivers/gpio/gpio-octeon.c | 2 +- drivers/gpio/gpio-omap.c | 2 +- drivers/gpio/gpio-palmas.c | 10 +++++----- drivers/gpio/gpio-pca9570.c | 2 +- drivers/gpio/gpio-pisosr.c | 2 +- drivers/gpio/gpio-pmic-eic-sprd.c | 2 +- drivers/gpio/gpio-pxa.c | 18 +++++++++--------- drivers/gpio/gpio-qixis-fpga.c | 3 +-- drivers/gpio/gpio-rda.c | 2 +- drivers/gpio/gpio-realtek-otto.c | 2 +- drivers/gpio/gpio-rockchip.c | 4 ++-- drivers/gpio/gpio-sama5d2-piobu.c | 2 +- drivers/gpio/gpio-sifive.c | 2 +- drivers/gpio/gpio-sl28cpld.c | 2 +- drivers/gpio/gpio-spear-spics.c | 2 +- drivers/gpio/gpio-sprd.c | 2 +- drivers/gpio/gpio-stmpe.c | 2 +- drivers/gpio/gpio-stp-xway.c | 2 +- drivers/gpio/gpio-tegra.c | 2 +- drivers/gpio/gpio-tps65218.c | 2 +- drivers/gpio/gpio-ts4800.c | 4 ++-- drivers/gpio/gpio-twl4030.c | 4 ++-- drivers/gpio/gpio-vf610.c | 4 ++-- drivers/gpio/gpio-visconti.c | 2 +- drivers/gpio/gpio-waveshare-dsi.c | 2 +- drivers/gpio/gpio-xgene-sb.c | 2 +- drivers/gpio/gpio-xgene.c | 4 ++-- drivers/gpio/gpio-xgs-iproc.c | 2 +- drivers/gpio/gpio-xilinx.c | 2 +- drivers/gpio/gpio-xra1403.c | 2 +- drivers/gpio/gpio-zevio.c | 4 ++-- drivers/gpio/gpio-zynqmp-modepin.c | 2 +- 69 files changed, 128 insertions(+), 129 deletions(-) diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index 5ca61cf5206a..eeed612e7c80 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c @@ -189,7 +189,7 @@ MODULE_DEVICE_TABLE(spi, gen_74x164_spi_ids); static const struct of_device_id gen_74x164_dt_ids[] =3D { { .compatible =3D "fairchild,74hc595" }, { .compatible =3D "nxp,74lvc594" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids); =20 diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c index 0410e3adbf54..4b5825a49a08 100644 --- a/drivers/gpio/gpio-adnp.c +++ b/drivers/gpio/gpio-adnp.c @@ -506,8 +506,8 @@ static const struct i2c_device_id adnp_i2c_id[] =3D { MODULE_DEVICE_TABLE(i2c, adnp_i2c_id); =20 static const struct of_device_id adnp_of_match[] =3D { - { .compatible =3D "ad,gpio-adnp", }, - { }, + { .compatible =3D "ad,gpio-adnp" }, + { } }; MODULE_DEVICE_TABLE(of, adnp_of_match); =20 diff --git a/drivers/gpio/gpio-aggregator.c b/drivers/gpio/gpio-aggregator.c index 5ce89f52b4b5..872ef6de9c70 100644 --- a/drivers/gpio/gpio-aggregator.c +++ b/drivers/gpio/gpio-aggregator.c @@ -1651,7 +1651,7 @@ static const struct of_device_id gpio_aggregator_dt_i= ds[] =3D { * Add GPIO-operated devices controlled from userspace below, * or use "driver_override" in sysfs. */ - {} + { } }; MODULE_DEVICE_TABLE(of, gpio_aggregator_dt_ids); =20 diff --git a/drivers/gpio/gpio-altera-a10sr.c b/drivers/gpio/gpio-altera-a1= 0sr.c index a41e5575ee37..2b06315abe74 100644 --- a/drivers/gpio/gpio-altera-a10sr.c +++ b/drivers/gpio/gpio-altera-a10sr.c @@ -96,7 +96,7 @@ static int altr_a10sr_gpio_probe(struct platform_device *= pdev) =20 static const struct of_device_id altr_a10sr_gpio_of_match[] =3D { { .compatible =3D "altr,a10sr-gpio" }, - { }, + { } }; MODULE_DEVICE_TABLE(of, altr_a10sr_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 532e3360b70e..f48b8012ee2b 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -257,8 +257,8 @@ static int altera_gpio_probe(struct platform_device *pd= ev) } =20 static const struct of_device_id altera_gpio_of_match[] =3D { - { .compatible =3D "altr,pio-1.0", }, - {}, + { .compatible =3D "altr,pio-1.0" }, + { } }; MODULE_DEVICE_TABLE(of, altera_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-aspeed-sgpio.c b/drivers/gpio/gpio-aspeed-sg= pio.c index 4225261f61c8..fbde74be8a80 100644 --- a/drivers/gpio/gpio-aspeed-sgpio.c +++ b/drivers/gpio/gpio-aspeed-sgpio.c @@ -594,11 +594,11 @@ static const struct aspeed_sgpio_pdata ast2700_sgpiom= _pdata =3D { }; =20 static const struct of_device_id aspeed_sgpio_of_table[] =3D { - { .compatible =3D "aspeed,ast2400-sgpio", .data =3D &ast2400_sgpio_pdata,= }, - { .compatible =3D "aspeed,ast2500-sgpio", .data =3D &ast2400_sgpio_pdata,= }, - { .compatible =3D "aspeed,ast2600-sgpiom", .data =3D &ast2600_sgpiom_pdat= a, }, - { .compatible =3D "aspeed,ast2700-sgpiom", .data =3D &ast2700_sgpiom_pdat= a, }, - {} + { .compatible =3D "aspeed,ast2400-sgpio", .data =3D &ast2400_sgpio_pdata = }, + { .compatible =3D "aspeed,ast2500-sgpio", .data =3D &ast2400_sgpio_pdata = }, + { .compatible =3D "aspeed,ast2600-sgpiom", .data =3D &ast2600_sgpiom_pdat= a }, + { .compatible =3D "aspeed,ast2700-sgpiom", .data =3D &ast2700_sgpiom_pdat= a }, + { } }; =20 MODULE_DEVICE_TABLE(of, aspeed_sgpio_of_table); diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index dc53b2decb66..1a7fc65d6279 100644 --- a/drivers/gpio/gpio-aspeed.c +++ b/drivers/gpio/gpio-aspeed.c @@ -1292,11 +1292,11 @@ static const struct aspeed_gpio_config ast2700_conf= ig =3D }; =20 static const struct of_device_id aspeed_gpio_of_table[] =3D { - { .compatible =3D "aspeed,ast2400-gpio", .data =3D &ast2400_config, }, - { .compatible =3D "aspeed,ast2500-gpio", .data =3D &ast2500_config, }, - { .compatible =3D "aspeed,ast2600-gpio", .data =3D &ast2600_config, }, - { .compatible =3D "aspeed,ast2700-gpio", .data =3D &ast2700_config, }, - {} + { .compatible =3D "aspeed,ast2400-gpio", .data =3D &ast2400_config }, + { .compatible =3D "aspeed,ast2500-gpio", .data =3D &ast2500_config }, + { .compatible =3D "aspeed,ast2600-gpio", .data =3D &ast2600_config }, + { .compatible =3D "aspeed,ast2700-gpio", .data =3D &ast2700_config }, + { } }; MODULE_DEVICE_TABLE(of, aspeed_gpio_of_table); =20 diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index aa37579c9608..5270f9121749 100644 --- a/drivers/gpio/gpio-ath79.c +++ b/drivers/gpio/gpio-ath79.c @@ -210,7 +210,7 @@ static void ath79_gpio_irq_handler(struct irq_desc *des= c) static const struct of_device_id ath79_gpio_of_match[] =3D { { .compatible =3D "qca,ar7100-gpio" }, { .compatible =3D "qca,ar9340-gpio" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, ath79_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-blzp1600.c b/drivers/gpio/gpio-blzp1600.c index 0f8c826ba876..ddb50f02224f 100644 --- a/drivers/gpio/gpio-blzp1600.c +++ b/drivers/gpio/gpio-blzp1600.c @@ -270,7 +270,7 @@ static int blzp1600_gpio_probe(struct platform_device *= pdev) } =20 static const struct of_device_id blzp1600_gpio_of_match[] =3D { - { .compatible =3D "blaize,blzp1600-gpio", }, + { .compatible =3D "blaize,blzp1600-gpio" }, { /* Sentinel */ }, }; MODULE_DEVICE_TABLE(of, blzp1600_gpio_of_match); diff --git a/drivers/gpio/gpio-brcmstb.c b/drivers/gpio/gpio-brcmstb.c index 44ca798cf832..60dec669ca67 100644 --- a/drivers/gpio/gpio-brcmstb.c +++ b/drivers/gpio/gpio-brcmstb.c @@ -787,7 +787,7 @@ static int brcmstb_gpio_probe(struct platform_device *p= dev) =20 static const struct of_device_id brcmstb_gpio_of_match[] =3D { { .compatible =3D "brcm,brcmstb-gpio" }, - {}, + { } }; =20 MODULE_DEVICE_TABLE(of, brcmstb_gpio_of_match); diff --git a/drivers/gpio/gpio-cadence.c b/drivers/gpio/gpio-cadence.c index d7790fc35c22..1f275af8ecdb 100644 --- a/drivers/gpio/gpio-cadence.c +++ b/drivers/gpio/gpio-cadence.c @@ -170,11 +170,11 @@ static const struct irq_chip cdns_gpio_irqchip =3D { static const struct of_device_id cdns_of_ids[] =3D { { .compatible =3D "axiado,ax3000-gpio", - .data =3D &ax3000_gpio_quirks + .data =3D &ax3000_gpio_quirks, }, { .compatible =3D "cdns,gpio-r1p02", - .data =3D &cdns_default_quirks + .data =3D &cdns_default_quirks, }, { /* sentinel */ }, }; diff --git a/drivers/gpio/gpio-creg-snps.c b/drivers/gpio/gpio-creg-snps.c index 2e159ea41791..6834191d9294 100644 --- a/drivers/gpio/gpio-creg-snps.c +++ b/drivers/gpio/gpio-creg-snps.c @@ -125,10 +125,10 @@ static const struct creg_layout axs10x_flsh_cs_ctl = =3D { static const struct of_device_id creg_gpio_ids[] =3D { { .compatible =3D "snps,creg-gpio-axs10x", - .data =3D &axs10x_flsh_cs_ctl + .data =3D &axs10x_flsh_cs_ctl, }, { .compatible =3D "snps,creg-gpio-hsdk", - .data =3D &hsdk_cs_ctl + .data =3D &hsdk_cs_ctl, }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, creg_gpio_ids); diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 270cd7c88812..b7429d778856 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -668,9 +668,9 @@ static DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops= , davinci_gpio_suspend, davinci_gpio_resume); =20 static const struct of_device_id davinci_gpio_ids[] =3D { - { .compatible =3D "ti,keystone-gpio", keystone_gpio_get_irq_chip}, - { .compatible =3D "ti,am654-gpio", keystone_gpio_get_irq_chip}, - { .compatible =3D "ti,dm6441-gpio", davinci_gpio_get_irq_chip}, + { .compatible =3D "ti,keystone-gpio", .data =3D keystone_gpio_get_irq_chi= p }, + { .compatible =3D "ti,am654-gpio", .data =3D keystone_gpio_get_irq_chip }, + { .compatible =3D "ti,dm6441-gpio", .data =3D davinci_gpio_get_irq_chip }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, davinci_gpio_ids); diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index e159c3f98f1c..a5ecb73d8b31 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c @@ -713,8 +713,8 @@ static int dwapb_get_clks(struct dwapb_gpio *gpio) } =20 static const struct of_device_id dwapb_of_match[] =3D { - { .compatible =3D "snps,dw-apb-gpio", .data =3D (void *)GPIO_REG_OFFSET_V= 1}, - { .compatible =3D "apm,xgene-gpio-v2", .data =3D (void *)GPIO_REG_OFFSET_= V2}, + { .compatible =3D "snps,dw-apb-gpio", .data =3D (void *)GPIO_REG_OFFSET_V= 1 }, + { .compatible =3D "apm,xgene-gpio-v2", .data =3D (void *)GPIO_REG_OFFSET_= V2 }, { /* Sentinel */ } }; MODULE_DEVICE_TABLE(of, dwapb_of_match); diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index a214b0672726..b660a0c7cfc8 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c @@ -357,8 +357,8 @@ static int em_gio_probe(struct platform_device *pdev) } =20 static const struct of_device_id em_gio_dt_ids[] =3D { - { .compatible =3D "renesas,em-gio", }, - {}, + { .compatible =3D "renesas,em-gio" }, + { } }; MODULE_DEVICE_TABLE(of, em_gio_dt_ids); =20 diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c index e29df8d5e571..da30e3d927b9 100644 --- a/drivers/gpio/gpio-ftgpio010.c +++ b/drivers/gpio/gpio-ftgpio010.c @@ -321,7 +321,7 @@ static const struct of_device_id ftgpio_gpio_of_match[]= =3D { { .compatible =3D "faraday,ftgpio010", }, - {}, + { } }; MODULE_DEVICE_TABLE(of, ftgpio_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index e4fa84e22726..fbbe201cce4c 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/drivers/gpio/gpio-grgpio.c @@ -444,7 +444,7 @@ static int grgpio_probe(struct platform_device *ofdev) static const struct of_device_id grgpio_match[] =3D { {.name =3D "GAISLER_GPIO"}, {.name =3D "01_01a"}, - {}, + { } }; =20 MODULE_DEVICE_TABLE(of, grgpio_match); diff --git a/drivers/gpio/gpio-gw-pld.c b/drivers/gpio/gpio-gw-pld.c index bf1f91c3c4a8..96a7e11ff667 100644 --- a/drivers/gpio/gpio-gw-pld.c +++ b/drivers/gpio/gpio-gw-pld.c @@ -115,8 +115,8 @@ static const struct i2c_device_id gw_pld_id[] =3D { MODULE_DEVICE_TABLE(i2c, gw_pld_id); =20 static const struct of_device_id gw_pld_dt_ids[] =3D { - { .compatible =3D "gateworks,pld-gpio", }, - { }, + { .compatible =3D "gateworks,pld-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, gw_pld_dt_ids); =20 diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c index f03df71e3296..b75b52607711 100644 --- a/drivers/gpio/gpio-hisi.c +++ b/drivers/gpio/gpio-hisi.c @@ -228,7 +228,7 @@ static const struct acpi_device_id hisi_gpio_acpi_match= [] =3D { MODULE_DEVICE_TABLE(acpi, hisi_gpio_acpi_match); =20 static const struct of_device_id hisi_gpio_dts_match[] =3D { - { .compatible =3D "hisilicon,ascend910-gpio", }, + { .compatible =3D "hisilicon,ascend910-gpio" }, { } }; MODULE_DEVICE_TABLE(of, hisi_gpio_dts_match); diff --git a/drivers/gpio/gpio-hlwd.c b/drivers/gpio/gpio-hlwd.c index 043ce5ef3b07..663a8d05719a 100644 --- a/drivers/gpio/gpio-hlwd.c +++ b/drivers/gpio/gpio-hlwd.c @@ -303,8 +303,8 @@ static int hlwd_gpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id hlwd_gpio_match[] =3D { - { .compatible =3D "nintendo,hollywood-gpio", }, - {}, + { .compatible =3D "nintendo,hollywood-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, hlwd_gpio_match); =20 diff --git a/drivers/gpio/gpio-ixp4xx.c b/drivers/gpio/gpio-ixp4xx.c index 88d48cfc9017..e791ba19928a 100644 --- a/drivers/gpio/gpio-ixp4xx.c +++ b/drivers/gpio/gpio-ixp4xx.c @@ -339,7 +339,7 @@ static const struct of_device_id ixp4xx_gpio_of_match[]= =3D { { .compatible =3D "intel,ixp4xx-gpio", }, - {}, + { } }; MODULE_DEVICE_TABLE(of, ixp4xx_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-loongson-64bit.c b/drivers/gpio/gpio-loongso= n-64bit.c index d76c3cf177d1..edcff2fa8adc 100644 --- a/drivers/gpio/gpio-loongson-64bit.c +++ b/drivers/gpio/gpio-loongson-64bit.c @@ -519,7 +519,7 @@ static const struct of_device_id loongson_gpio_of_match= [] =3D { .compatible =3D "loongson,ls3a6000-gpio", .data =3D &loongson_gpio_ls3a6000_data, }, - {} + { } }; MODULE_DEVICE_TABLE(of, loongson_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c index e8e00daff7df..ab84f83aec86 100644 --- a/drivers/gpio/gpio-lp3943.c +++ b/drivers/gpio/gpio-lp3943.c @@ -209,7 +209,7 @@ static int lp3943_gpio_probe(struct platform_device *pd= ev) } =20 static const struct of_device_id lp3943_gpio_of_match[] =3D { - { .compatible =3D "ti,lp3943-gpio", }, + { .compatible =3D "ti,lp3943-gpio" }, { } }; MODULE_DEVICE_TABLE(of, lp3943_gpio_of_match); diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index 37fc54fc7385..2dde79e45aae 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c @@ -532,8 +532,8 @@ static int lpc32xx_gpio_probe(struct platform_device *p= dev) } =20 static const struct of_device_id lpc32xx_gpio_of_match[] =3D { - { .compatible =3D "nxp,lpc3220-gpio", }, - { }, + { .compatible =3D "nxp,lpc3220-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, lpc32xx_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-macsmc.c b/drivers/gpio/gpio-macsmc.c index b0952d066a9d..4afc73da2bee 100644 --- a/drivers/gpio/gpio-macsmc.c +++ b/drivers/gpio/gpio-macsmc.c @@ -274,8 +274,8 @@ static int macsmc_gpio_probe(struct platform_device *pd= ev) } =20 static const struct of_device_id macsmc_gpio_of_table[] =3D { - { .compatible =3D "apple,smc-gpio", }, - {} + { .compatible =3D "apple,smc-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, macsmc_gpio_of_table); =20 diff --git a/drivers/gpio/gpio-max7360.c b/drivers/gpio/gpio-max7360.c index d12cf1dc8d57..a5a8f89e6c71 100644 --- a/drivers/gpio/gpio-max7360.c +++ b/drivers/gpio/gpio-max7360.c @@ -232,12 +232,12 @@ static int max7360_gpio_probe(struct platform_device = *pdev) static const struct of_device_id max7360_gpio_of_match[] =3D { { .compatible =3D "maxim,max7360-gpo", - .data =3D &max7360_gpio_col_plat + .data =3D &max7360_gpio_col_plat, }, { .compatible =3D "maxim,max7360-gpio", - .data =3D &max7360_gpio_port_plat - }, { - } + .data =3D &max7360_gpio_port_plat, + }, + { } }; MODULE_DEVICE_TABLE(of, max7360_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-max77759.c b/drivers/gpio/gpio-max77759.c index da3c77dd574e..b2259d875751 100644 --- a/drivers/gpio/gpio-max77759.c +++ b/drivers/gpio/gpio-max77759.c @@ -495,7 +495,7 @@ static int max77759_gpio_probe(struct platform_device *= pdev) } =20 static const struct of_device_id max77759_gpio_of_id[] =3D { - { .compatible =3D "maxim,max77759-gpio", }, + { .compatible =3D "maxim,max77759-gpio" }, { } }; MODULE_DEVICE_TABLE(of, max77759_gpio_of_id); diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c index 1bd98c50a459..f48dc24151b1 100644 --- a/drivers/gpio/gpio-mm-lantiq.c +++ b/drivers/gpio/gpio-mm-lantiq.c @@ -134,7 +134,7 @@ static int ltq_mm_probe(struct platform_device *pdev) =20 static const struct of_device_id ltq_mm_match[] =3D { { .compatible =3D "lantiq,gpio-mm" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, ltq_mm_match); =20 diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 1c6a2f3414f1..c26a97f8deac 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -487,8 +487,8 @@ static int gpio_mockup_probe(struct platform_device *pd= ev) } =20 static const struct of_device_id gpio_mockup_of_match[] =3D { - { .compatible =3D "gpio-mockup", }, - {}, + { .compatible =3D "gpio-mockup" }, + { } }; MODULE_DEVICE_TABLE(of, gpio_mockup_of_match); =20 diff --git a/drivers/gpio/gpio-moxtet.c b/drivers/gpio/gpio-moxtet.c index 4eb9f1a2779b..d87e9f4bd037 100644 --- a/drivers/gpio/gpio-moxtet.c +++ b/drivers/gpio/gpio-moxtet.c @@ -152,8 +152,8 @@ static int moxtet_gpio_probe(struct device *dev) } =20 static const struct of_device_id moxtet_gpio_dt_ids[] =3D { - { .compatible =3D "cznic,moxtet-gpio", }, - {}, + { .compatible =3D "cznic,moxtet-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, moxtet_gpio_dt_ids); =20 diff --git a/drivers/gpio/gpio-mpc5200.c b/drivers/gpio/gpio-mpc5200.c index 2c828bc922ae..14f6b0d5ccfc 100644 --- a/drivers/gpio/gpio-mpc5200.c +++ b/drivers/gpio/gpio-mpc5200.c @@ -177,8 +177,8 @@ static int mpc52xx_wkup_gpiochip_probe(struct platform_= device *ofdev) } =20 static const struct of_device_id mpc52xx_wkup_gpiochip_match[] =3D { - { .compatible =3D "fsl,mpc5200-gpio-wkup", }, - {} + { .compatible =3D "fsl,mpc5200-gpio-wkup" }, + { } }; MODULE_DEVICE_TABLE(of, mpc52xx_wkup_gpiochip_match); =20 diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index e79312a7d5a4..fb280d87c578 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -306,17 +306,17 @@ static const struct mpc8xxx_gpio_devtype mpc8xxx_gpio= _devtype_default =3D { }; =20 static const struct of_device_id mpc8xxx_gpio_ids[] =3D { - { .compatible =3D "fsl,mpc8314-gpio", }, - { .compatible =3D "fsl,mpc8349-gpio", }, - { .compatible =3D "fsl,mpc8572-gpio", .data =3D &mpc8572_gpio_devtype, }, - { .compatible =3D "fsl,mpc8610-gpio", }, - { .compatible =3D "fsl,mpc5121-gpio", .data =3D &mpc512x_gpio_devtype, }, - { .compatible =3D "fsl,mpc5125-gpio", .data =3D &mpc5125_gpio_devtype, }, - { .compatible =3D "fsl,pq3-gpio", }, - { .compatible =3D "fsl,ls1028a-gpio", }, - { .compatible =3D "fsl,ls1088a-gpio", }, - { .compatible =3D "fsl,qoriq-gpio", }, - {} + { .compatible =3D "fsl,mpc8314-gpio" }, + { .compatible =3D "fsl,mpc8349-gpio" }, + { .compatible =3D "fsl,mpc8572-gpio", .data =3D &mpc8572_gpio_devtype }, + { .compatible =3D "fsl,mpc8610-gpio" }, + { .compatible =3D "fsl,mpc5121-gpio", .data =3D &mpc512x_gpio_devtype }, + { .compatible =3D "fsl,mpc5125-gpio", .data =3D &mpc5125_gpio_devtype }, + { .compatible =3D "fsl,pq3-gpio" }, + { .compatible =3D "fsl,ls1028a-gpio" }, + { .compatible =3D "fsl,ls1088a-gpio" }, + { .compatible =3D "fsl,qoriq-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, mpc8xxx_gpio_ids); =20 diff --git a/drivers/gpio/gpio-mt7621.c b/drivers/gpio/gpio-mt7621.c index 87086c322f08..7992167c0eb0 100644 --- a/drivers/gpio/gpio-mt7621.c +++ b/drivers/gpio/gpio-mt7621.c @@ -487,7 +487,7 @@ mt7621_gpio_probe(struct platform_device *pdev) =20 static const struct of_device_id mt7621_gpio_match[] =3D { { .compatible =3D "mediatek,mt7621-gpio" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, mt7621_gpio_match); =20 diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 7e2690d92df6..671e43102d78 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c @@ -138,7 +138,7 @@ static struct mxc_gpio_hwdata imx35_gpio_hwdata =3D { #define GPIO_INT_BOTH_EDGES 0x4 =20 static const struct of_device_id mxc_gpio_dt_ids[] =3D { - { .compatible =3D "fsl,imx1-gpio", .data =3D &imx1_imx21_gpio_hwdata }, + { .compatible =3D "fsl,imx1-gpio", .data =3D &imx1_imx21_gpio_hwdata }, { .compatible =3D "fsl,imx21-gpio", .data =3D &imx1_imx21_gpio_hwdata }, { .compatible =3D "fsl,imx31-gpio", .data =3D &imx31_gpio_hwdata }, { .compatible =3D "fsl,imx35-gpio", .data =3D &imx35_gpio_hwdata }, diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 5635694bf9f4..f2808fe8a3e8 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c @@ -250,8 +250,8 @@ static int mxs_gpio_get_direction(struct gpio_chip *gc,= unsigned int offset) } =20 static const struct of_device_id mxs_gpio_dt_ids[] =3D { - { .compatible =3D "fsl,imx23-gpio", .data =3D (void *) IMX23_GPIO, }, - { .compatible =3D "fsl,imx28-gpio", .data =3D (void *) IMX28_GPIO, }, + { .compatible =3D "fsl,imx23-gpio", .data =3D (void *)IMX23_GPIO }, + { .compatible =3D "fsl,imx28-gpio", .data =3D (void *)IMX28_GPIO }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, mxs_gpio_dt_ids); diff --git a/drivers/gpio/gpio-nomadik.c b/drivers/gpio/gpio-nomadik.c index 90293329b40b..32390bc00649 100644 --- a/drivers/gpio/gpio-nomadik.c +++ b/drivers/gpio/gpio-nomadik.c @@ -715,9 +715,9 @@ static int nmk_gpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id nmk_gpio_match[] =3D { - { .compatible =3D "st,nomadik-gpio", }, - { .compatible =3D "mobileye,eyeq5-gpio", }, - {} + { .compatible =3D "st,nomadik-gpio" }, + { .compatible =3D "mobileye,eyeq5-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, nmk_gpio_match); =20 diff --git a/drivers/gpio/gpio-npcm-sgpio.c b/drivers/gpio/gpio-npcm-sgpio.c index 83c77a2c0623..99f57bcf2b9c 100644 --- a/drivers/gpio/gpio-npcm-sgpio.c +++ b/drivers/gpio/gpio-npcm-sgpio.c @@ -596,9 +596,9 @@ static const struct npcm_clk_cfg npcm845_sgpio_pdata = =3D { }; =20 static const struct of_device_id npcm_sgpio_of_table[] =3D { - { .compatible =3D "nuvoton,npcm750-sgpio", .data =3D &npcm750_sgpio_pdata= , }, - { .compatible =3D "nuvoton,npcm845-sgpio", .data =3D &npcm845_sgpio_pdata= , }, - {} + { .compatible =3D "nuvoton,npcm750-sgpio", .data =3D &npcm750_sgpio_pdata= }, + { .compatible =3D "nuvoton,npcm845-sgpio", .data =3D &npcm845_sgpio_pdata= }, + { } }; MODULE_DEVICE_TABLE(of, npcm_sgpio_of_table); =20 diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio/gpio-octeon.c index 777e20c608dc..2854443226b7 100644 --- a/drivers/gpio/gpio-octeon.c +++ b/drivers/gpio/gpio-octeon.c @@ -121,7 +121,7 @@ static const struct of_device_id octeon_gpio_match[] = =3D { { .compatible =3D "cavium,octeon-3860-gpio", }, - {}, + { } }; MODULE_DEVICE_TABLE(of, octeon_gpio_match); =20 diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index e39723b5901b..015cf0f542ec 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -1393,7 +1393,7 @@ static const struct of_device_id omap_gpio_match[] = =3D { .compatible =3D "ti,omap2-gpio", .data =3D &omap2_pdata, }, - { }, + { } }; MODULE_DEVICE_TABLE(of, omap_gpio_match); =20 diff --git a/drivers/gpio/gpio-palmas.c b/drivers/gpio/gpio-palmas.c index e64ee0487718..ebf2a29d8210 100644 --- a/drivers/gpio/gpio-palmas.c +++ b/drivers/gpio/gpio-palmas.c @@ -151,11 +151,11 @@ static const struct palmas_device_data tps80036_dev_d= ata =3D { }; =20 static const struct of_device_id of_palmas_gpio_match[] =3D { - { .compatible =3D "ti,palmas-gpio", .data =3D &palmas_dev_data,}, - { .compatible =3D "ti,tps65913-gpio", .data =3D &palmas_dev_data,}, - { .compatible =3D "ti,tps65914-gpio", .data =3D &palmas_dev_data,}, - { .compatible =3D "ti,tps80036-gpio", .data =3D &tps80036_dev_data,}, - { }, + { .compatible =3D "ti,palmas-gpio", .data =3D &palmas_dev_data }, + { .compatible =3D "ti,tps65913-gpio", .data =3D &palmas_dev_data }, + { .compatible =3D "ti,tps65914-gpio", .data =3D &palmas_dev_data }, + { .compatible =3D "ti,tps80036-gpio", .data =3D &tps80036_dev_data }, + { } }; MODULE_DEVICE_TABLE(of, of_palmas_gpio_match); =20 diff --git a/drivers/gpio/gpio-pca9570.c b/drivers/gpio/gpio-pca9570.c index db027c10494f..8f4f97d723fd 100644 --- a/drivers/gpio/gpio-pca9570.c +++ b/drivers/gpio/gpio-pca9570.c @@ -171,7 +171,7 @@ static const struct i2c_device_id pca9570_id_table[] = =3D { MODULE_DEVICE_TABLE(i2c, pca9570_id_table); =20 static const struct of_device_id pca9570_of_match_table[] =3D { - { .compatible =3D "dlg,slg7xl45106", .data =3D &slg7xl45106_gpio}, + { .compatible =3D "dlg,slg7xl45106", .data =3D &slg7xl45106_gpio }, { .compatible =3D "nxp,pca9570", .data =3D &pca9570_gpio }, { .compatible =3D "nxp,pca9571", .data =3D &pca9571_gpio }, { /* sentinel */ } diff --git a/drivers/gpio/gpio-pisosr.c b/drivers/gpio/gpio-pisosr.c index 75a8f3efaf94..bb533070f46b 100644 --- a/drivers/gpio/gpio-pisosr.c +++ b/drivers/gpio/gpio-pisosr.c @@ -156,7 +156,7 @@ static const struct spi_device_id pisosr_gpio_id_table[= ] =3D { MODULE_DEVICE_TABLE(spi, pisosr_gpio_id_table); =20 static const struct of_device_id pisosr_gpio_of_match_table[] =3D { - { .compatible =3D "pisosr-gpio", }, + { .compatible =3D "pisosr-gpio" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, pisosr_gpio_of_match_table); diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic= -sprd.c index cb015fb5c946..8012ca4299f6 100644 --- a/drivers/gpio/gpio-pmic-eic-sprd.c +++ b/drivers/gpio/gpio-pmic-eic-sprd.c @@ -362,7 +362,7 @@ static int sprd_pmic_eic_probe(struct platform_device *= pdev) } =20 static const struct of_device_id sprd_pmic_eic_of_match[] =3D { - { .compatible =3D "sprd,sc2731-eic", }, + { .compatible =3D "sprd,sc2731-eic" }, { /* end of list */ } }; MODULE_DEVICE_TABLE(of, sprd_pmic_eic_of_match); diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 7aaed5b30e7e..8bcbc76905a2 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -573,15 +573,15 @@ static const struct irq_domain_ops pxa_irq_domain_ops= =3D { =20 #ifdef CONFIG_OF static const struct of_device_id pxa_gpio_dt_ids[] =3D { - { .compatible =3D "intel,pxa25x-gpio", .data =3D &pxa25x_id, }, - { .compatible =3D "intel,pxa26x-gpio", .data =3D &pxa26x_id, }, - { .compatible =3D "intel,pxa27x-gpio", .data =3D &pxa27x_id, }, - { .compatible =3D "intel,pxa3xx-gpio", .data =3D &pxa3xx_id, }, - { .compatible =3D "marvell,pxa93x-gpio", .data =3D &pxa93x_id, }, - { .compatible =3D "marvell,mmp-gpio", .data =3D &mmp_id, }, - { .compatible =3D "marvell,mmp2-gpio", .data =3D &mmp2_id, }, - { .compatible =3D "marvell,pxa1928-gpio", .data =3D &pxa1928_id, }, - {} + { .compatible =3D "intel,pxa25x-gpio", .data =3D &pxa25x_id }, + { .compatible =3D "intel,pxa26x-gpio", .data =3D &pxa26x_id }, + { .compatible =3D "intel,pxa27x-gpio", .data =3D &pxa27x_id }, + { .compatible =3D "intel,pxa3xx-gpio", .data =3D &pxa3xx_id }, + { .compatible =3D "marvell,pxa93x-gpio", .data =3D &pxa93x_id }, + { .compatible =3D "marvell,mmp-gpio", .data =3D &mmp_id }, + { .compatible =3D "marvell,mmp2-gpio", .data =3D &mmp2_id }, + { .compatible =3D "marvell,pxa1928-gpio", .data =3D &pxa1928_id }, + { } }; MODULE_DEVICE_TABLE(of, pxa_gpio_dt_ids); =20 diff --git a/drivers/gpio/gpio-qixis-fpga.c b/drivers/gpio/gpio-qixis-fpga.c index b590572ac2bd..00bef538f94f 100644 --- a/drivers/gpio/gpio-qixis-fpga.c +++ b/drivers/gpio/gpio-qixis-fpga.c @@ -91,8 +91,7 @@ static const struct of_device_id qixis_cpld_gpio_of_match= [] =3D { .compatible =3D "fsl,ls1046aqds-fpga-gpio-stat-pres2", .data =3D &ls1046aqds_stat_pres2_cfg, }, - - {} + { } }; MODULE_DEVICE_TABLE(of, qixis_cpld_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-rda.c b/drivers/gpio/gpio-rda.c index 7bbc6f0ce4c8..c9aaf2ae6f12 100644 --- a/drivers/gpio/gpio-rda.c +++ b/drivers/gpio/gpio-rda.c @@ -280,7 +280,7 @@ static int rda_gpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id rda_gpio_of_match[] =3D { - { .compatible =3D "rda,8810pl-gpio", }, + { .compatible =3D "rda,8810pl-gpio" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, rda_gpio_of_match); diff --git a/drivers/gpio/gpio-realtek-otto.c b/drivers/gpio/gpio-realtek-o= tto.c index 4a606bad5848..b54e5fe9af88 100644 --- a/drivers/gpio/gpio-realtek-otto.c +++ b/drivers/gpio/gpio-realtek-otto.c @@ -356,7 +356,7 @@ static const struct of_device_id realtek_gpio_of_match[= ] =3D { .compatible =3D "realtek,rtl9607-gpio", .data =3D (void *)GPIO_PORTS_REVERSED, }, - {} + { } }; MODULE_DEVICE_TABLE(of, realtek_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c index 77b239a9a601..0f46ff095a24 100644 --- a/drivers/gpio/gpio-rockchip.c +++ b/drivers/gpio/gpio-rockchip.c @@ -806,9 +806,9 @@ static void rockchip_gpio_remove(struct platform_device= *pdev) } =20 static const struct of_device_id rockchip_gpio_match[] =3D { - { .compatible =3D "rockchip,gpio-bank", }, + { .compatible =3D "rockchip,gpio-bank" }, { .compatible =3D "rockchip,rk3188-gpio-bank0" }, - { }, + { } }; =20 static struct platform_driver rockchip_gpio_driver =3D { diff --git a/drivers/gpio/gpio-sama5d2-piobu.c b/drivers/gpio/gpio-sama5d2-= piobu.c index 5005688f6e67..ab8655e9a518 100644 --- a/drivers/gpio/gpio-sama5d2-piobu.c +++ b/drivers/gpio/gpio-sama5d2-piobu.c @@ -228,7 +228,7 @@ static int sama5d2_piobu_probe(struct platform_device *= pdev) =20 static const struct of_device_id sama5d2_piobu_ids[] =3D { { .compatible =3D "atmel,sama5d2-secumod" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, sama5d2_piobu_ids); =20 diff --git a/drivers/gpio/gpio-sifive.c b/drivers/gpio/gpio-sifive.c index e9a992cd4b9c..5b719b9f7650 100644 --- a/drivers/gpio/gpio-sifive.c +++ b/drivers/gpio/gpio-sifive.c @@ -258,7 +258,7 @@ static int sifive_gpio_probe(struct platform_device *pd= ev) static const struct of_device_id sifive_gpio_match[] =3D { { .compatible =3D "sifive,gpio0" }, { .compatible =3D "sifive,fu540-c000-gpio" }, - { }, + { } }; MODULE_DEVICE_TABLE(of, sifive_gpio_match); =20 diff --git a/drivers/gpio/gpio-sl28cpld.c b/drivers/gpio/gpio-sl28cpld.c index ca7a9b9bcf48..ac9cf23a865f 100644 --- a/drivers/gpio/gpio-sl28cpld.c +++ b/drivers/gpio/gpio-sl28cpld.c @@ -141,7 +141,7 @@ static const struct of_device_id sl28cpld_gpio_of_match= [] =3D { { .compatible =3D "kontron,sl28cpld-gpio", .data =3D (void *)SL28CPLD_GPI= O }, { .compatible =3D "kontron,sl28cpld-gpi", .data =3D (void *)SL28CPLD_GPI = }, { .compatible =3D "kontron,sl28cpld-gpo", .data =3D (void *)SL28CPLD_GPO = }, - {} + { } }; MODULE_DEVICE_TABLE(of, sl28cpld_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spic= s.c index 3099deb2b290..6df67b6bdf34 100644 --- a/drivers/gpio/gpio-spear-spics.c +++ b/drivers/gpio/gpio-spear-spics.c @@ -155,7 +155,7 @@ static int spics_gpio_probe(struct platform_device *pde= v) =20 static const struct of_device_id spics_gpio_of_match[] =3D { { .compatible =3D "st,spear-spics-gpio" }, - {} + { } }; MODULE_DEVICE_TABLE(of, spics_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-sprd.c b/drivers/gpio/gpio-sprd.c index 042a83f60eaa..7ddbe0eb500d 100644 --- a/drivers/gpio/gpio-sprd.c +++ b/drivers/gpio/gpio-sprd.c @@ -261,7 +261,7 @@ static int sprd_gpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id sprd_gpio_of_match[] =3D { - { .compatible =3D "sprd,sc9860-gpio", }, + { .compatible =3D "sprd,sc9860-gpio" }, { /* end of list */ } }; MODULE_DEVICE_TABLE(of, sprd_gpio_of_match); diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c index 6faf30347a36..e88cc6ff9ec0 100644 --- a/drivers/gpio/gpio-stmpe.c +++ b/drivers/gpio/gpio-stmpe.c @@ -533,7 +533,7 @@ static int stmpe_gpio_probe(struct platform_device *pde= v) } =20 static const struct of_device_id stmpe_gpio_of_matches[] =3D { - { .compatible =3D "st,stmpe-gpio", }, + { .compatible =3D "st,stmpe-gpio" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, stmpe_gpio_of_matches); diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 78d6c78d4aab..37c480c1f031 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c @@ -315,7 +315,7 @@ static int xway_stp_probe(struct platform_device *pdev) =20 static const struct of_device_id xway_stp_match[] =3D { { .compatible =3D "lantiq,gpio-stp-xway" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, xway_stp_match); =20 diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index fa6c8ee92093..d42b644000b2 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -669,7 +669,7 @@ static const struct dev_pm_ops tegra_gpio_pm_ops =3D { }; =20 static const struct of_device_id tegra_pmc_of_match[] =3D { - { .compatible =3D "nvidia,tegra210-pmc", }, + { .compatible =3D "nvidia,tegra210-pmc" }, { /* sentinel */ }, }; =20 diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c index bf85663349fb..79e13adeb21e 100644 --- a/drivers/gpio/gpio-tps65218.c +++ b/drivers/gpio/gpio-tps65218.c @@ -196,7 +196,7 @@ static int tps65218_gpio_probe(struct platform_device *= pdev) =20 static const struct of_device_id tps65218_dt_match[] =3D { { .compatible =3D "ti,tps65218-gpio" }, - { } + { } }; MODULE_DEVICE_TABLE(of, tps65218_dt_match); =20 diff --git a/drivers/gpio/gpio-ts4800.c b/drivers/gpio/gpio-ts4800.c index 0207c2b813f4..a67f6808ea16 100644 --- a/drivers/gpio/gpio-ts4800.c +++ b/drivers/gpio/gpio-ts4800.c @@ -48,8 +48,8 @@ static int ts4800_gpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id ts4800_gpio_of_match[] =3D { - { .compatible =3D "technologic,ts4800-gpio", }, - {}, + { .compatible =3D "technologic,ts4800-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, ts4800_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c index a851702befde..d61bf331395d 100644 --- a/drivers/gpio/gpio-twl4030.c +++ b/drivers/gpio/gpio-twl4030.c @@ -604,8 +604,8 @@ static int gpio_twl4030_probe(struct platform_device *p= dev) } =20 static const struct of_device_id twl_gpio_match[] =3D { - { .compatible =3D "ti,twl4030-gpio", }, - { }, + { .compatible =3D "ti,twl4030-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, twl_gpio_match); =20 diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index adfa2c2d5873..0b67194de573 100644 --- a/drivers/gpio/gpio-vf610.c +++ b/drivers/gpio/gpio-vf610.c @@ -79,8 +79,8 @@ static const struct fsl_gpio_soc_data imx8ulp_data =3D { =20 static const struct of_device_id vf610_gpio_dt_ids[] =3D { { .compatible =3D "fsl,vf610-gpio", .data =3D &vf610_data }, - { .compatible =3D "fsl,imx7ulp-gpio", .data =3D &imx_data, }, - { .compatible =3D "fsl,imx8ulp-gpio", .data =3D &imx8ulp_data, }, + { .compatible =3D "fsl,imx7ulp-gpio", .data =3D &imx_data }, + { .compatible =3D "fsl,imx8ulp-gpio", .data =3D &imx8ulp_data }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, vf610_gpio_dt_ids); diff --git a/drivers/gpio/gpio-visconti.c b/drivers/gpio/gpio-visconti.c index 6d5d829634ad..59e57b8e8604 100644 --- a/drivers/gpio/gpio-visconti.c +++ b/drivers/gpio/gpio-visconti.c @@ -219,7 +219,7 @@ static int visconti_gpio_probe(struct platform_device *= pdev) } =20 static const struct of_device_id visconti_gpio_of_match[] =3D { - { .compatible =3D "toshiba,gpio-tmpv7708", }, + { .compatible =3D "toshiba,gpio-tmpv7708" }, { /* end of table */ } }; MODULE_DEVICE_TABLE(of, visconti_gpio_of_match); diff --git a/drivers/gpio/gpio-waveshare-dsi.c b/drivers/gpio/gpio-waveshar= e-dsi.c index 38f52351bb58..bb862f450140 100644 --- a/drivers/gpio/gpio-waveshare-dsi.c +++ b/drivers/gpio/gpio-waveshare-dsi.c @@ -190,7 +190,7 @@ static int waveshare_gpio_probe(struct i2c_client *i2c) =20 static const struct of_device_id waveshare_gpio_dt_ids[] =3D { { .compatible =3D "waveshare,dsi-touch-gpio" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, waveshare_gpio_dt_ids); =20 diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 30b6e9f3f8ba..b1e0008679d0 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -334,7 +334,7 @@ static void xgene_gpio_sb_remove(struct platform_device= *pdev) =20 static const struct of_device_id xgene_gpio_sb_of_match[] =3D { { .compatible =3D "apm,xgene-gpio-sb" }, - {} + { } }; MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); =20 diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index f4adf2962557..2aa0432dab7f 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -188,8 +188,8 @@ static int xgene_gpio_probe(struct platform_device *pde= v) } =20 static const struct of_device_id xgene_gpio_of_match[] =3D { - { .compatible =3D "apm,xgene-gpio", }, - {}, + { .compatible =3D "apm,xgene-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c index 77eb29dcc217..211e64b793a6 100644 --- a/drivers/gpio/gpio-xgs-iproc.c +++ b/drivers/gpio/gpio-xgs-iproc.c @@ -310,7 +310,7 @@ static void iproc_gpio_remove(struct platform_device *p= dev) =20 static const struct of_device_id bcm_iproc_gpio_of_match[] =3D { { .compatible =3D "brcm,iproc-gpio-cca" }, - {} + { } }; MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c index 532205175827..7a03a7301540 100644 --- a/drivers/gpio/gpio-xilinx.c +++ b/drivers/gpio/gpio-xilinx.c @@ -667,7 +667,7 @@ static int xgpio_probe(struct platform_device *pdev) } =20 static const struct of_device_id xgpio_of_match[] =3D { - { .compatible =3D "xlnx,xps-gpio-1.00.a", }, + { .compatible =3D "xlnx,xps-gpio-1.00.a" }, { /* end of list */ }, }; =20 diff --git a/drivers/gpio/gpio-xra1403.c b/drivers/gpio/gpio-xra1403.c index 3713475bdb75..03c216d6d03f 100644 --- a/drivers/gpio/gpio-xra1403.c +++ b/drivers/gpio/gpio-xra1403.c @@ -192,7 +192,7 @@ MODULE_DEVICE_TABLE(spi, xra1403_ids); =20 static const struct of_device_id xra1403_spi_of_match[] =3D { { .compatible =3D "exar,xra1403" }, - {}, + { } }; MODULE_DEVICE_TABLE(of, xra1403_spi_of_match); =20 diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index f1c5c6a20673..78c6988b5027 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -210,8 +210,8 @@ static int zevio_gpio_probe(struct platform_device *pde= v) } =20 static const struct of_device_id zevio_gpio_of_match[] =3D { - { .compatible =3D "lsi,zevio-gpio", }, - { }, + { .compatible =3D "lsi,zevio-gpio" }, + { } }; MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-zynqmp-modepin.c b/drivers/gpio/gpio-zynqmp-= modepin.c index 5e651482e985..dcf41101a1e6 100644 --- a/drivers/gpio/gpio-zynqmp-modepin.c +++ b/drivers/gpio/gpio-zynqmp-modepin.c @@ -145,7 +145,7 @@ static int modepin_gpio_probe(struct platform_device *p= dev) } =20 static const struct of_device_id modepin_platform_id[] =3D { - { .compatible =3D "xlnx,zynqmp-gpio-modepin", }, + { .compatible =3D "xlnx,zynqmp-gpio-modepin" }, { } }; MODULE_DEVICE_TABLE(of, modepin_platform_id); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41D493F5BC5 for ; Tue, 14 Jul 2026 07:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013946; cv=none; b=eyo25JxY7wgWxwCS6s5u5DnJQkCFjwckElNto/a1f279h/s280Uouw1qZVv3kavT6LFCodb36GawV8tAILiw/bYcdyqvths61nHvPO55si9lock3OMinDE5JfCSWNySSEfLUhjGxPE6TYj08Oh2NEfExO0MfUYkO6wqgqO+syKk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013946; c=relaxed/simple; bh=tlhpfxWNLfu1I4z7wJOpN0fnYBl00+DJVsJb0YfBZgQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YLm6rVdPXj5y4UMvUsek3nLH6k9FNDoWuFNjBc7f+7wltejOZwymuro84C4ACdE2ENggzEMTo5F0rxc4gAOA+WXNuGRe8YXNkZ9z3idhcMGpZKzcjIzy7r2ZKOnSsg9iZlNiKW2QaWFPyfP4bnjlfZvY8NCtg0cPncuI7m/4Mh0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=kdFd6z/1; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="kdFd6z/1" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-47dec32798aso4018452f8f.1 for ; Tue, 14 Jul 2026 00:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013942; x=1784618742; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=JJCgbulnP4Nf9RZygKfTbaFY/tGF9/egVfE7dbW2pow=; b=kdFd6z/1+6esphcPG6pZe61bAjcqvEmw/IbkyhdOwvYcn/ueAcSxPd7Ymiio9NxbNu FAuOBZtTnVXafsugaoPnip275sMvVgDzIzxXWmWTbzg+07GGTnv4yxIEl2p8gfYBCO5G 1/IpyLrDC5VpvhrKrmQQah9jDdaDc9aa94isdeoixZr91R2KRbQVZEo2kb/F3Z+oCc6D iYXzpYcApAKgxPhjPVpK3Uog0YYb2T5OTAUFCSy+5bo7vvVpU9gykYyx4lj/+hnUTsex o0iDzxga5FVg/IiG+Vlvqr5ohPfDVOQDi9Tna1Eheh82Isv51S+qneR1w1a0e7sGx7G5 vlmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013942; x=1784618742; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=JJCgbulnP4Nf9RZygKfTbaFY/tGF9/egVfE7dbW2pow=; b=enLlIgdN0PkujQXoOgoz3pP5nsyaUDXLHBejuA0lc7gJ6V6PvXBaAH4YYp0uj01WiN qLUG30dPTQfe0rU3cPkufvJFI6lRbYB4jSETcJ9mByUe90d0gTjE3480O6+gbo4Qybil 4RjWNtqb8oaP6/bOlW6bvNEo5Tqs8XTdYUa4rMJk/jH0HQ934rvK7qWBoqWFxkQYyH1D UhhnlAfusRd9AY/s6sNEnz8wTHI5GlwqriYytDdyhBo3cLAnmejuRDvvgBa0iEdQ1EwM Vex1LbiEptdVtCTTmCBALkAKuJ3MQ/IWdzBfVA03bordAtxl12azerADFMd0RDnxVtBw 4qlA== X-Forwarded-Encrypted: i=1; AHgh+Rot0jbMkVuEBmect3CewbU4PvPbChm0NgBufR3lsJFO5T3Kq8CGY09GvgV27F4XeaLZe5Gax9suBDaH8VU=@vger.kernel.org X-Gm-Message-State: AOJu0YyOKOipK4mxTg8kVaXqLq5z+FrqgsHbVWF5QLDo41XDXkokW+c2 49jLlQ/OCd7teeXCCgepjMLj07Bh0u9A50TnBZ6Ijfr+SLIA/PTBVZ2E/SZG0LoOJWg= X-Gm-Gg: AfdE7cnLdETWsobenp3v73vxO/AowUzUHaG1nlqxT9575RKODtnXSqFsj2RybqOphg2 sMpvHJzShz+OYZjopyuJByjnr++Uyyy+sH/vr5wswmkqQ4OCGHgvsK+Floe8q/MKuJJVw1w4pct 882ZDP0uLHGssEylc8NtfAzGNSCHU2AGLvxp03dbHneaYJRP3YuQPn7rQVJXuT1yE53tfFQswoz fdmgUzy9wa5KfW+yXTQMfWTcq5lQXkTd3MYS1PybtC9nJnQJ4Fu2FFnDR//ne3e79iKA2m0+Cow XwG7gbLdlzeHxZXZsCPjXRIEBduca6o4+/eY/Eq7ml//R/eAiCE7+vXma/eybFXq0Voto8ESeKX 0qK9hlzhyizmzyVk2UfwN5do1FjnHjQhLqmJtZMLZg3zRZsa0tqtplBzWe1ww/HwV9CXs5nkaaR XD86qBaF935iQZIiq2ff4t6KLCpBE3QBLSBobYllJ403yIRS+DAdHS7tEL3nuu/e0AFkhO2cf7R 1PS7EaR9ksIqhQ= X-Received: by 2002:a05:6000:4a1c:b0:475:f0d1:eb6b with SMTP id ffacd0b85a97d-47f488c0145mr1418924f8f.56.1784013942562; Tue, 14 Jul 2026 00:25:42 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f464d6fa7sm5923695f8f.37.2026.07.14.00.25.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:42 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 17/20] gpio: max77620: Unify style of platform_device_id arrays Date: Tue, 14 Jul 2026 09:24:18 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1202; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=tlhpfxWNLfu1I4z7wJOpN0fnYBl00+DJVsJb0YfBZgQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeRG1v1B/th8HuaDKvgYG8yhpcyVPbOeihhnV EYcVJyPGB6JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkRgAKCRCPgPtYfRL+ Tj03B/9lCny1oqwPwfgZEZ7h1FPlX5bzrQMt7xpSwGMFAXrnl3mipEVK0Pc6JKwJDBItIhpyt5O ALpo6BL/lz/PonQRcoJ+kQTwYIYcuo2S/pedgQjcoc8fJDxK3GUXik4REs1qlKCDgqsQygUnWNH fUdA0R4VSPqdVBMoz4l+F0mjf8PihE08XpKOwmZQEPaz4/P2jOYGWQHrXAZ6ieQWc1SMjrONH8l d0fjrlslhFVF799TJg6eXLrnQoWs0BVED5jtDaL5flqcJEucu53YlhljxqRBGBSugEHZX76cGEX Olw4K3CAvd+u2hipHGgcG5aUl7LgGrGhQhINI8c295hR8Sfy X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various platform_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; Adapt the single offender accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-max77620.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c index 2bf3b55a61b5..99ac7ffb650b 100644 --- a/drivers/gpio/gpio-max77620.c +++ b/drivers/gpio/gpio-max77620.c @@ -365,8 +365,8 @@ static int max77620_gpio_probe(struct platform_device *= pdev) } =20 static const struct platform_device_id max77620_gpio_devtype[] =3D { - { .name =3D "max77620-gpio", }, - { .name =3D "max20024-gpio", }, + { .name =3D "max77620-gpio" }, + { .name =3D "max20024-gpio" }, { } }; MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype); --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8C8C3F8246 for ; Tue, 14 Jul 2026 07:25:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013947; cv=none; b=D76DH2k1ggPJBvKuW2C1edLzXUntUpKkuCOLL27mD2nYUp29NYVoGJ4Fs7oH8pPa/mgH314HQPUnWzNGyo+hO6Mvlzv1V+DKQSAt180Q6NgP4CNGbhc5CPh2eWEv9tky2aORAMhnjTySJAlbdE6JYwhW5kpKRwLJWa9g+NeL9AQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013947; c=relaxed/simple; bh=RpIRMTWZ8MttlPK03fnuszXJ+wTnFZwAX9zeYPpcfuc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=skuRQE0JqSyOaCOr3c7EOpGxPBRce7yD9LFwDfvkQm3AvURjrjBIkb8qhN9ncWEwzmcQ0jKeE3WmKAXa2rMr7pyIbn2aUbAFvQZh9JB4mdZwEoky9KT0aSC5sckDanzycGLd449gIuIeef/nmiQpoewyzvw+Z5bW4NHnusbAJPM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=FAhGeoHH; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="FAhGeoHH" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4938d5f86f3so4460385e9.1 for ; Tue, 14 Jul 2026 00:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013944; x=1784618744; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=AHd9rAFKjbxYMiTiN956h6hY84nCbjYBspgrZSqw28w=; b=FAhGeoHHZfg3c83pLDkUN8eD5HwO0c3o7sL3fv5tNNQvv7ja26tu73fLyQ7DjfQRCy HU9eg/yWyFijaeGR0sKjLPa9JjMyyfb+/4Xd+WwD6+t3Nqe/GDpZnsgN+SFdWpH4wrhg lelXROknTnwerUCxbIMvFk64n+Rn2iDNldKUIDd9CjDTlJwI4u6hJKIwvIgTLkbBJV2a zHNSxD7NiFnGYtTzFUtaEYjcCu1ZIdkQrgvGwVzB3oyprXiDXNimNVn9TwsvJGpTUng/ pYJkQqHGw2JT45Rgn2xIpVgHxDXxOt8pYWGLAMi/BDQE5hz0IDzMqCt+C04CAdierftn AYkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013944; x=1784618744; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=AHd9rAFKjbxYMiTiN956h6hY84nCbjYBspgrZSqw28w=; b=D/vdxSXMSZVVwmRhyc/HgYkNqtPI3AkE3sp1IgJFEzssLKvuJAXUol5mv7a2ZFSx90 WVU0xyt7IgFuAlI9Yg/ZDc8t0lzqzSFL1vG/eDPDsbYXIm2amfx2WnWT35GfVLC8olLc pVz+lbR9SmbBhm3iQjv0DxKkV1DvYHsy0lwDF1HgVAjD1RBp6c3vv1sRekckpDzm5Xh3 w4ylsbB2qiiiJvjSQWdLrgXz7KrEilQ48Fj9KjMo5ydSctBhgQTBLJZ2A9lNV5Xiv+V7 znYeOxb48gnJwQKzWLEaOrrbBGKDg9JyAZO8BPhmHUorbe5k4MfXXOswgUOx46RkQfcf BZqw== X-Forwarded-Encrypted: i=1; AHgh+Rpql3neg6IqFDGKcXaOCUlaQMvO4uns5rscFID2OUjKcbwBxm+hmnekkAhqLTZAYThYKZKAPjCGqj2ZZqg=@vger.kernel.org X-Gm-Message-State: AOJu0YwYnwyhAQ6UEGagZo3ih7cicI3Vr6qsEuuZ3M707OlPvTvoexSd bOpLD5QprnoESimM4Bg+gEg4h6PY5q4XDZK8PGZkj5kRdUgF1W9rMgC8931s+LRDNSk= X-Gm-Gg: AfdE7cmdne7qTmdGcOHoufyCjQ0g8KZImuO//4og70nih+2XBTs6KbYah2gYX0ylLxe tWuc0/zRHyEFo/lvl9SvhPeBw/K1U5owoagCsgUTciBPqY42E06P+hJmt/Ow79NXc83Le38XBHy 6stPenn755abfXB76cCAMyZbUA4nHnZUnCzfN7pM2tPMVKpb215d6f32OeBdQG+D9wwYYOrfDW4 WbB3vuiuF+8t3XBEjvSEdDlmAUMwqyu17tT58K2xj0TeSsm5cF2lN0S+AOW4UYkBtUN4DTYVR5r +2AH6MUnLgitL3IjwWSIS2xkH/vEUv+ovLC2sXbQN+W4Y5CkO/ojFQy5rEvk9bwSP/KjqvkaEBc OrbdkV6WDw/Nywjgf1we1MS+ubc+QWo/RxM9URmTS4prQwFWjZHg4cjX6hBuBYR18cpGewQe/26 CiaXnhyGLO37AnvKRUba/lOgkHWt3AMv8dloA/GIXOQZj+qSRwD6CT3WGWSZ8Hg/WS/biAtkIo6 3e9 X-Received: by 2002:a05:600c:6286:b0:493:f9ca:fa with SMTP id 5b1f17b1804b1-493f9ca0655mr118179105e9.3.1784013944036; Tue, 14 Jul 2026 00:25:44 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-493f2d97527sm370196645e9.2.2026.07.14.00.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:43 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 18/20] gpio: Unify style of spi_device_id arrays Date: Tue, 14 Jul 2026 09:24:19 +0200 Message-ID: <6c456124d46b1ad654413376bb7a8e17c9d5da84.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1522; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=RpIRMTWZ8MttlPK03fnuszXJ+wTnFZwAX9zeYPpcfuc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeRJz7pNFaHmT1nc7Rr7mmJW7plaHC+dHUTN2 k1hdKxc7qCJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkSQAKCRCPgPtYfRL+ Thg+B/4jMUHvoM3nXaZVBpZtKhnixIQA+2mviYr97yAMM9tcJKfwr40LIrMqOH0NV9fVAvrSvKE xdDVi+QF98LQ9kyLZLgOw/fnptWr1aloamRT9rGppn4gCj2VxXxsRhgnqYT2xX3bZuqMxvJ4FYK zYEGvgUFUZ3TRzUuGprg5n0bngojcBJZbxSJkecMvPBNygmZEZTZE/zDajqNAv5k7jcSe7/+iLM qRvqNvNbTjCRpHHVWMVzudz6ZIKllk4mM1QQnx1Em8I1IP5v5e2buBwmnii0o49DnylqUFwkWxN MwyCtNaGvUg1ZQycpOW3bRj1VtPpWZCDzbo6mqHcmuiUrjoO X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various spi_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; Adapt the few offenders accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-74x164.c | 2 +- drivers/gpio/gpio-xra1403.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index eeed612e7c80..acda26cc4cc8 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c @@ -182,7 +182,7 @@ static int gen_74x164_probe(struct spi_device *spi) static const struct spi_device_id gen_74x164_spi_ids[] =3D { { .name =3D "74hc595" }, { .name =3D "74lvc594" }, - {}, + { } }; MODULE_DEVICE_TABLE(spi, gen_74x164_spi_ids); =20 diff --git a/drivers/gpio/gpio-xra1403.c b/drivers/gpio/gpio-xra1403.c index 03c216d6d03f..5089377b67ff 100644 --- a/drivers/gpio/gpio-xra1403.c +++ b/drivers/gpio/gpio-xra1403.c @@ -186,7 +186,7 @@ static int xra1403_probe(struct spi_device *spi) =20 static const struct spi_device_id xra1403_ids[] =3D { { .name =3D "xra1403" }, - {}, + { } }; MODULE_DEVICE_TABLE(spi, xra1403_ids); =20 --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BC3E3F8EDB for ; Tue, 14 Jul 2026 07:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013951; cv=none; b=m6UeGaB6CJZxYEq7Fv7p1Lm3S0ZjDLQJ3VkvC2j/4mXqKIRKIffUlBei8ykeFUTAvXy5vdcrJdGd90Yo/pXnYnCTjSWQ6gAEOl6jFBBo8V+sDvws+Y6Bq0Pe2AQ3juxEwk8u0OwR0nv3szolLtNpX+sIhGcrWNZO60kPp7Q7WwA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013951; c=relaxed/simple; bh=fcJux/JxYg4XNLUBo/VBcf49DEvkgEV8p+Bhw7kODP4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HtsB3LWNOSJ73iF5vNBLy4x+mIhyOP8px7Nw7bZvlzHg9mqVD2KTLW6tdkCcu8CAGNwRiw+d/cR4oQ/6JjZ15rZI6pvGC8dMa2oP+U32BHG5PV28R+BSvlLegks1t1LVGBsVOefysX892dtz8JuYfxkPJrjTb9GgT6EXzO/bQKo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=pw1yebe7; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="pw1yebe7" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-493e4cccd8dso3060575e9.2 for ; Tue, 14 Jul 2026 00:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013947; x=1784618747; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=F1wGjH1y3nlSuQwKjzNKfUProDkPmUKQy6fps820scg=; b=pw1yebe7qYGF/ddlifAahBnk14fPTAjU3bWqPrf2FjDPu88+GPKZeWWSXvGp+7yMOf RjUAeIbo5ZVOPT7bhbq2xcVgajqqdIoqTCApLOhoIHSsOEShXfxjCezLrRbvlfYFI5kz yd0apL70XdfTvWlXRleA/+79Hc0mIq8Yj7xscARepa5/iuEzC50KMQlfyVenQthG7SNY 52PeEHwN9btdOA3MtO6bLtG0qOTnubMbiimMF5Z7qzsK73/DBj1A7Jb/F7rTvQbePQ9L KbCRLons9MAkbGoA/xdblu7raLaTC3KSyJtzLIchgxhIAgXsQIkuuhx//zuVmQorKrDJ p/6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013947; x=1784618747; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=F1wGjH1y3nlSuQwKjzNKfUProDkPmUKQy6fps820scg=; b=bJTfdEwNj709v53+LCQLqYQfUAtSg7N90MlTaMNbvVQatc6xkShORNjCVbM6+Pr+1L XGm1w2Dzcv8NPsonKs3J0wnOZPGh7/odk1GSAw//X0vw06tU39gZ4kaGOzj4JcDARBmj VP6ZHXTweQq30wTkccJx6KQugoM/BZGcJMfbCYDykMrHwVutNztBXTM5uh/GnRWcS48E uPOwoHvCjNdFj6MM9uohwdFGF55o3whak9MEk/4GTF8E59xDFVWRJE/tGKS8NgIjcDQR reeEI3tOgjPu6EExcxMQdKxnNcw9XAU6ghTGO4V9VNq/6bo1gqyL9LYCWdi8vvodfUoM 5FAw== X-Forwarded-Encrypted: i=1; AHgh+RoOk2wZ2tIy7Mk3sCWwFKkc0yE250rfpPr1ZMuZ5IjbHQwHekpaeaKC1q/d4elQIq+/5gUAT1J0xgn9CQs=@vger.kernel.org X-Gm-Message-State: AOJu0YwbpmRPN5PWAm4Uhnh86kX0WJLzTfo7YppAUHZxzJXBSTm3kVuT c9HxxtSZqgynMdDojKMAzVcBhoeMYrmz2H8YFvhwXjVN6tUigpKIAddDLN5xfBEamiw= X-Gm-Gg: AfdE7ckjz2HYng3zhryUbcWRXJdB6XxTWOqJLscB+OIyGMJsp+OVEgfHG5igKQpZmNs u5/IWrWLksByztUtMR9W3fpYDB++yAnaZyuoBbcHCbHsQc6enMrE3OmTOnbWZ0t1gpKWeGHQ6+2 yWsCMLNLPUCKu2WewPbZqF48MbAPbs5vCf7u+2ed8d9dBZNpD1rt5MoN3CqWCmtraN4Okn/Bbeg BUN06hL7NhjZNxWo3z1Qy5X52rebimOCBvcRYe+QkeIGXtbqx7jYwvEXVFFnn/SedBXHk0ZF6je 2YcnZCP32Gg5+Su+eqjcWvnfVRC+QSi02K4GPMqRUJR+5bboFBSnnyXyzom8vtNtU/eOWFJVR1e yJdMU8dVxtD3rr6GznIZ890IcCo3L50ULXdcc3gqgPi8ECI3g/3RSpTUHeppy2KWDn2Wx4xZWCK TeXpB+zvyUA6OW0x+Y6Yr7l+FEbqW8S3EU7XRnvQRodxErkVm5osueiUpcBRAJL9sW8bSh9PJMB 8Xi X-Received: by 2002:a05:600c:5292:b0:493:e6f7:ad75 with SMTP id 5b1f17b1804b1-493f87e6d4cmr130857275e9.11.1784013946737; Tue, 14 Jul 2026 00:25:46 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2f635dsm56625805e9.12.2026.07.14.00.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:46 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Michael Buesch , Andy Shevchenko , William Breathitt Gray , Robert Richter , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 19/20] gpio: Unify style of pci_device_id arrays Date: Tue, 14 Jul 2026 09:24:20 +0200 Message-ID: <125cf664a060ff58d11f4a21e8df182cd8f15eff.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=4593; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=fcJux/JxYg4XNLUBo/VBcf49DEvkgEV8p+Bhw7kODP4=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqVeRLTjqqiHcuXSUYPrwePwXpQEZw+K47RcyZD /y0kg6v2tyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCalXkSwAKCRCPgPtYfRL+ TrRPB/0UOVXv3y2/a06gkmI7y7obiBMVerybJNjQQFRp4sYtes2Rd8XM0wpAZSzSVmmryn0YQNH 2AihkHSZ7ps0Rgugg2+ZzksIkvpJsizLVvWWNl3brk1qaGRi+Tc84fkSEK8LXXMtqfZUA6hWWJl 49ebdw8hdYf/I9Lmq6gew92FJNa1RNGVcdJkSCHX2tlQRY/c0TynqatfTSv+GOWKwWyIek4Dfzu XH8ayMsjGRN+CM+TtZPYPFwWSMgtlLhALUDJGT9m0GyMSJmgWiaX1ph/pDJlDig+mZoMOzjtXgN pfxGVgi5ZclV4bpe8jfs1b2d7vJ88VZ3XofovrjF/bdiemnf X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various of_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; - at most one entry per line; Adapt the few offenders accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Reviewed-by: Andy Shevchenko --- drivers/gpio/gpio-amd8111.c | 2 +- drivers/gpio/gpio-bt8xx.c | 2 +- drivers/gpio/gpio-ml-ioh.c | 2 +- drivers/gpio/gpio-pci-idio-16.c | 3 ++- drivers/gpio/gpio-pcie-idio-24.c | 8 +++++--- drivers/gpio/gpio-sodaville.c | 2 +- drivers/gpio/gpio-thunderx.c | 3 +-- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-amd8111.c b/drivers/gpio/gpio-amd8111.c index 8078b5d7b80c..25ad6d82f708 100644 --- a/drivers/gpio/gpio-amd8111.c +++ b/drivers/gpio/gpio-amd8111.c @@ -60,7 +60,7 @@ */ static const struct pci_device_id pci_tbl[] =3D { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8111_SMBUS) }, - { }, /* terminate list */ + { } /* terminate list */ }; MODULE_DEVICE_TABLE(pci, pci_tbl); =20 diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c index 324eeb77dbd5..07bb3557a42a 100644 --- a/drivers/gpio/gpio-bt8xx.c +++ b/drivers/gpio/gpio-bt8xx.c @@ -264,7 +264,7 @@ static const struct pci_device_id bt8xxgpio_pci_tbl[] = =3D { { PCI_DEVICE(PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT849) }, { PCI_DEVICE(PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT878) }, { PCI_DEVICE(PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT879) }, - { 0, }, + { } }; MODULE_DEVICE_TABLE(pci, bt8xxgpio_pci_tbl); =20 diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c index 6576e5dcb0ee..75e75a53219e 100644 --- a/drivers/gpio/gpio-ml-ioh.c +++ b/drivers/gpio/gpio-ml-ioh.c @@ -509,7 +509,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(ioh_gpio_pm_ops, ioh_gp= io_suspend, ioh_gpio_resu =20 static const struct pci_device_id ioh_gpio_pcidev_id[] =3D { { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x802E) }, - { 0, } + { } }; MODULE_DEVICE_TABLE(pci, ioh_gpio_pcidev_id); =20 diff --git a/drivers/gpio/gpio-pci-idio-16.c b/drivers/gpio/gpio-pci-idio-1= 6.c index 9d28ca8e1d6f..ddb644be92ac 100644 --- a/drivers/gpio/gpio-pci-idio-16.c +++ b/drivers/gpio/gpio-pci-idio-16.c @@ -98,7 +98,8 @@ static int idio_16_probe(struct pci_dev *pdev, const stru= ct pci_device_id *id) } =20 static const struct pci_device_id idio_16_pci_dev_id[] =3D { - { PCI_DEVICE(0x494F, 0x0DC8) }, { 0 } + { PCI_DEVICE(0x494F, 0x0DC8) }, + { } }; MODULE_DEVICE_TABLE(pci, idio_16_pci_dev_id); =20 diff --git a/drivers/gpio/gpio-pcie-idio-24.c b/drivers/gpio/gpio-pcie-idio= -24.c index 80c0ba0afa67..1caec692f68d 100644 --- a/drivers/gpio/gpio-pcie-idio-24.c +++ b/drivers/gpio/gpio-pcie-idio-24.c @@ -382,9 +382,11 @@ static int idio_24_probe(struct pci_dev *pdev, const s= truct pci_device_id *id) } =20 static const struct pci_device_id idio_24_pci_dev_id[] =3D { - { PCI_DEVICE(0x494F, 0x0FD0) }, { PCI_DEVICE(0x494F, 0x0BD0) }, - { PCI_DEVICE(0x494F, 0x07D0) }, { PCI_DEVICE(0x494F, 0x0FC0) }, - { 0 } + { PCI_DEVICE(0x494F, 0x0FD0) }, + { PCI_DEVICE(0x494F, 0x0BD0) }, + { PCI_DEVICE(0x494F, 0x07D0) }, + { PCI_DEVICE(0x494F, 0x0FC0) }, + { } }; MODULE_DEVICE_TABLE(pci, idio_24_pci_dev_id); =20 diff --git a/drivers/gpio/gpio-sodaville.c b/drivers/gpio/gpio-sodaville.c index 9f4cd23c872f..5544fcc27228 100644 --- a/drivers/gpio/gpio-sodaville.c +++ b/drivers/gpio/gpio-sodaville.c @@ -239,7 +239,7 @@ static int sdv_gpio_probe(struct pci_dev *pdev, =20 static const struct pci_device_id sdv_gpio_pci_ids[] =3D { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_SDV_GPIO) }, - { 0, }, + { } }; MODULE_DEVICE_TABLE(pci, sdv_gpio_pci_ids); =20 diff --git a/drivers/gpio/gpio-thunderx.c b/drivers/gpio/gpio-thunderx.c index be96853063ba..d7d60d6044e0 100644 --- a/drivers/gpio/gpio-thunderx.c +++ b/drivers/gpio/gpio-thunderx.c @@ -589,9 +589,8 @@ static void thunderx_gpio_remove(struct pci_dev *pdev) =20 static const struct pci_device_id thunderx_gpio_id_table[] =3D { { PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, 0xA00A) }, - { 0, } /* end of table */ + { } /* end of table */ }; - MODULE_DEVICE_TABLE(pci, thunderx_gpio_id_table); =20 static struct pci_driver thunderx_gpio_driver =3D { --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 20:05:57 2026 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 674993EEAE5 for ; Tue, 14 Jul 2026 07:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013952; cv=none; b=LA16adbQm/BhpbGJ6Ik4WuWqR0bheUAMe4sOFo8vWUk9O/18LAApXUaLBK4bustdCDA5Rw8m3fglFqAhfXoEda4XqtGtVjLVK0UVBeuLAcihxmJ/8add9NXUxEpNEwitO4X63hK3T8PYaYd4cb7n+ZscO4JbHAIKZi7QFn4KzNs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784013952; c=relaxed/simple; bh=fvu/m+rpcn3hmgIKPNxhMhPigeWKXUxr+xYgkr/uykI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DHEKRzDuu0TwdRWHxgSgv+sg2JYoz4ZUc71akDL5p0iDnJozzsR8O3DaYE1eBFHfGKvJR+tyfPuyYZEQ0glsrEgcTEBJqyqA4f/HxTGZX4XWLI0VwIEmAmJsAC5ksC+XrbzAFD4t+qO5PF236Ibrbs+vgx47SvZJQa3p/+3bfeM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=YoIXecx2; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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.b="YoIXecx2" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-493e4cccd8dso3060755e9.2 for ; Tue, 14 Jul 2026 00:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784013948; x=1784618748; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=xmgdis0KNSxiTcgJ05PgHtMXCrsCziLcVqNfaUxyfB0=; b=YoIXecx2g6FRdw7Q6oAVzlCg5N2AwQncNP/f3Naa4DJj4RQCO+gyqvvAWCy8etOEeJ q2/X98fHsxYPkgakkDnAcUEH5dnLcF3otoPbnShhIOqqJGho0aqJMZX3PS2BDMzb5s4b HzwraYzxPshBd2138xfZoM+1XY1gAwpM+pS4ScZZsbHW6ngJrUMY35/io+FriGwYWTSd E59mowORCXevVIQkFGCFGOa8Y3vbZrdpLhpNfKN+r5k/769VKjK1RkDhpu5l7gR79RhP 8hhtxZm2aLazSlAf1IoXa2YPcWdexFsJSDi45MjNRSFXO9p+bcmC2r+Sewa2fB1CpleL LcbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784013948; x=1784618748; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=xmgdis0KNSxiTcgJ05PgHtMXCrsCziLcVqNfaUxyfB0=; b=d4l6uq73UqwafE8Rz4BTaOZjlvHzKMZGnDjqculJGNqr3tDZ5c+LQZDbWDeA5OTXxO jRJJUf3cmV2p4vxNUX2T86zu3tG8IaG3Zt4wqx/9KQq7tmxu5DJDq84rv/roQInO2f4j g5rPpyVdzyqP4vosUApfp+qbfWeW9dx30hNRY11PBZyJyibtA3DrnN/kTGQNeuTTc5s2 sdwg0B1Lwvc9XLMTH/WVpBD6GQb5ne9QKLvh1MV3ZJSsV1Z1PtRASuj2eBtRKO2p3fbl QhnmGfdems8A7OdASPZqNCsjdAI2yK6GHXLLydih0D9S48dgo9LIVfr1xI83kFrPfBha z/iA== X-Forwarded-Encrypted: i=1; AHgh+Rph146fhEAnuJ+ZTzt6ONz9Ndpi9VQ4l+E66iR4okLnuQ/zf/epqYE3FFQ+TIYN61lFKHb0BDBmpU0b6Nc=@vger.kernel.org X-Gm-Message-State: AOJu0YxcnaY05o6HwilecM+OU4e0IMcwte8wkA5C9TQ5p1zTWEa8r0oO flNsl/SslTOzDP+IVM0sfJnp4sVwDdhIULuFMrHa70ngSOq8ZuKFX4DHsmq7ngPu2LM= X-Gm-Gg: AfdE7cnA8RofecYCRCWUQYAQ9lreCsnQNC3YaegSsmTlvPtY/ZL1ObEfsAzz70b2AGm Iftfs7IbYRqFct5U/D75d0iTenyGeJguVYp5kXnmdAnGesk3IZbOII79sjoXp/ONS3tqxZj65oY aGZMtpty0zBbY+wTW4epk6+m1T2E3jOaYW7157pbvZZTj0WxJnIka4GErx046BB61GC8Bdm83Mp 0AnMJLO2gZhjJAM2sJ1gIi8GRObA3p6g3N0wFc7w9Kvrpyv3g+fT+xnwwigiN/msmTdISQT/21T vvJoFJRaHONZLdCDRvft1gxBvtdZ2TQ2vEXCCoC/TytZ+uQUYWSR3fCwseohYpIBmieEEmGBcJ1 hHRsXH6h8iKmR/4AbdRtx9+GEKxORWVrcpAg3i58A1fULr6SEZCsOj2BXnYbRQ6cIx9JNU+xJGV VFZkn7Do81l/3cpLdRSQSkCY05tuQgrarWkuHbn3Pm7njZS5NKvsap8FHi71I4pTPQ0dPOB31ON JiH X-Received: by 2002:a05:600c:198f:b0:492:3237:ddf with SMTP id 5b1f17b1804b1-493f882994bmr119418695e9.28.1784013948568; Tue, 14 Jul 2026 00:25:48 -0700 (PDT) Received: from localhost (p200300f65f47db04b44a80421173aa03.dip0.t-ipconnect.de. [2003:f6:5f47:db04:b44a:8042:1173:aa03]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-49510c8e220sm44969925e9.15.2026.07.14.00.25.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 00:25:48 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Lixu Zhang , Sakari Ailus , "Enrico Weigelt, metux IT consult" , Viresh Kumar , Mika Westerberg , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, linux-acpi@vger.kernel.org Subject: [PATCH v1 20/20] gpio: Unify style of various *_device_id arrays Date: Tue, 14 Jul 2026 09:24:21 +0200 Message-ID: <1f2d39342995533857417eb890628f7643b9a159.1784013063.git.u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=3323; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=fvu/m+rpcn3hmgIKPNxhMhPigeWKXUxr+xYgkr/uykI=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzQJ37CljIiAd06L78f+7+h+OezSONtc83VW9kqpvv9+ LDZZ/blTkZjFgZGLgZZMUUW+8Y1mVZVcpGda/9dhhnEygQyhYGLUwAmIv2Hg2HFRtZM5fgQZYut ZrO6nFS2a4uEyz81YOJa26u4donSome6/BferCquWRsjt7fBMLRtSxITu6xkkQlDeUR0qqSS+eU I8eaO700m36JFZl6uS5br1TBMSKgL5FESTrp8+0PXQi6P98IKt40r2j6p/V6VtV2xSc6TpeDLxf 93OI8mlx4VuV+9YtbO7EIei8U6BaJdM3qWdqnEt9u9jePSPm7NP/V9pIf9JbcJBa892Jo6Wz2Mh fI3KMYv9BMVTXsS8EN5tclzkWerbks7rVK9tTD4wsyYidKc5peymLSe9h2KiV57MPKEXDNHu7nx /jMhVef+nHwXfelJ/20H1rNO0xldGtbPa1zqenyzeTIA X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Update the various *_device_id arrays to conform to the most used and generally recommended coding style. That is: - no comma after the list terminator; - a comma after an initializer if (and only if) the closing } is not directly following; - no explicit zeros in the list terminator; - a space after an opening { and before a closing }, a single space in the list terminator; Adapt the few offenders accordingly. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Acked-by: Sakari Ailus Acked-by: Viresh Kumar Reviewed-by: Andy Shevchenko --- drivers/gpio/gpio-ljca.c | 2 +- drivers/gpio/gpio-mpsse.c | 3 +-- drivers/gpio/gpio-pca953x.c | 2 +- drivers/gpio/gpio-virtio.c | 2 +- drivers/gpio/gpiolib-acpi-quirks.c | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-ljca.c b/drivers/gpio/gpio-ljca.c index ad5dc9a3a119..d9d7394d8b95 100644 --- a/drivers/gpio/gpio-ljca.c +++ b/drivers/gpio/gpio-ljca.c @@ -473,7 +473,7 @@ static void ljca_gpio_remove(struct auxiliary_device *a= uxdev) =20 static const struct auxiliary_device_id ljca_gpio_id_table[] =3D { { "usb_ljca.ljca-gpio" }, - { /* sentinel */ }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(auxiliary, ljca_gpio_id_table); =20 diff --git a/drivers/gpio/gpio-mpsse.c b/drivers/gpio/gpio-mpsse.c index a859deab2bca..7ca06bdb2c4b 100644 --- a/drivers/gpio/gpio-mpsse.c +++ b/drivers/gpio/gpio-mpsse.c @@ -77,10 +77,9 @@ static struct mpsse_quirk bryx_brik_quirk =3D { static const struct usb_device_id gpio_mpsse_table[] =3D { { USB_DEVICE(0x0c52, 0xa064) }, /* SeaLevel Systems, Inc. */ { USB_DEVICE(0x0403, 0x6988), /* FTDI, assigned to Bryx */ - .driver_info =3D (kernel_ulong_t)&bryx_brik_quirk}, + .driver_info =3D (kernel_ulong_t)&bryx_brik_quirk }, { } /* Terminating entry */ }; - MODULE_DEVICE_TABLE(usb, gpio_mpsse_table); =20 static DEFINE_IDA(gpio_mpsse_ida); diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index a2d85ab1d01f..09d0a65382f5 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -175,7 +175,7 @@ static const struct dmi_system_id pca953x_dmi_acpi_irq_= info[] =3D { DMI_EXACT_MATCH(DMI_BOARD_NAME, "GalileoGen2"), }, }, - {} + { } }; MODULE_DEVICE_TABLE(dmi, pca953x_dmi_acpi_irq_info); #endif diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c index 42871db05ec1..062c70fe4671 100644 --- a/drivers/gpio/gpio-virtio.c +++ b/drivers/gpio/gpio-virtio.c @@ -647,7 +647,7 @@ static void virtio_gpio_remove(struct virtio_device *vd= ev) =20 static const struct virtio_device_id id_table[] =3D { { .device =3D VIRTIO_ID_GPIO, .vendor =3D VIRTIO_DEV_ANY_ID }, - {}, + { } }; MODULE_DEVICE_TABLE(virtio, id_table); =20 diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi= -quirks.c index 5525c467c21d..9bf5ba619107 100644 --- a/drivers/gpio/gpiolib-acpi-quirks.c +++ b/drivers/gpio/gpiolib-acpi-quirks.c @@ -392,7 +392,7 @@ static const struct dmi_system_id gpiolib_acpi_quirks[]= __initconst =3D { .ignore_wake =3D "VEN_0488:00@355", }, }, - {} /* Terminating entry */ + { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(dmi, gpiolib_acpi_quirks); =20 --=20 2.55.0.11.g153666a7d9bb