From nobody Sat Jul 25 16:45:13 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 99FF535F5E3 for ; Wed, 15 Jul 2026 16:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134569; cv=none; b=rmvth6Fuuy5Pvwa3Q6E4Y1A4Hi/voOuq17JiYACFX4gXI9rb7Muv1OcDaR8x+8N725J15Nm/K52H3wbqNbsMCYuNKvpMrSPrk5yBHWR5yu++ycOu2j0xYuZTHQg/xkPh6TshESIy6T4XSZGDidedJ46YTGSGbxvwjdpDGRZG9/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134569; c=relaxed/simple; bh=VFQtJrX7tkOz1jHG8Rpayl2n+pKNint/uul7zVf1CxI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QOgyZvssGHfS6uSga3ZjXJU3texinvt6RQ+SXkmFJxU+xBRfSascYGV+r63ccxbf8SjjN0bwDgpEY9G5fSYiyvaaFYR9LLQrh05SK3bdguS0LW2fnge/LYBXsSnLut8r+9uDPQ0+UbXlZTKA93cKK9LdFlDSracBXTj8/fIeivM= 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=ENS3Gtkn; arc=none smtp.client-ip=209.85.128.48 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="ENS3Gtkn" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-493c19bad03so50437885e9.2 for ; Wed, 15 Jul 2026 09:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134565; x=1784739365; 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=3JKA0/svGj7P6Q+n8NAGcR1DoXZhQrV73mAbLowV7iA=; b=ENS3Gtknaw1AzKqEjc9/Kysod0nQc88U6BbN+BlRZr4qH8F+iyTFXStplUk34Zz6Wg /4vW+0F1gBCpJkCeXYYoFj7GT640HpXPjlpfLsWFSf8jAuZIx9N6qirJhsIH5rqRXReJ 3gY73rVWXdH7M3UAqofWtUUGAOGeCvdQr7M5Rn3m6W0oKW/Z27GQOmcLNM9tUJdckiZB oQCpKp6FwOqHyf1nymxP8GmjP1YVp/aXNibWsAHzSoSgZxZJPT46nEVIEWbG3r3D6p5q HU7wijARkEzmW6CBcXSyMrxXt0uAwkFjIFCD9ptok2eJykbsYtGpuDrcZqKMf2JllZtA uMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134565; x=1784739365; 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=3JKA0/svGj7P6Q+n8NAGcR1DoXZhQrV73mAbLowV7iA=; b=gIw1GzsVzKbnSGDiMqvtrWtFuOO8SAoQaeWpJHqUQT9OaYZJrfylMevZLtJAn+pjc7 Btp7QQSL4AqJak964FMT93e1Ni5hOcz5ixk9H+f1KTOT01P95W88okLnFkxMDmKIr0tv NabGZH0flHDY48hESuZMv4aB/qky9XEodRFVM3fK0/XHi4iaGhISHOvgeR51QDm86HYQ Zy1moLgT2g9X17gwscl9MyyJGfOUri4nGntgkK8gMG6x/etlocJTgvsGFcNxwWjPoQGS qaZsdkCTvCSNy3rTrSvoWCRlgaQ2Yu3uzCg/CCZYdQUvP8CNQH4z1L+rcL+pOGkgx2eg m7dA== X-Forwarded-Encrypted: i=1; AHgh+Rro7h4gobk3CHZ3l0TpMsjFfLygFQpsbdGg22ewb3KI/V5Coj24f9zeab8sjkqu8xc/Y0ZC4pXoxf92aUE=@vger.kernel.org X-Gm-Message-State: AOJu0YwMgPUH5DTeQoc6a+NA2pR+TCnrq+2rx8snwbe0HDORGdwxDFUt 4t8r1K3kkZsuCLzH7E8QsQkr1XVeJP/dj3R3GhQHcMcDVIZNS2YN/WdiYuduOJ/D+LM= X-Gm-Gg: AfdE7clAbvBoAo44gVsOTep9D7sEJTte4e572hT9dZfSJ0PiD/L2SnsQOF+Wl3yNThi /TcBKYDWyzsK5xzGxHOF/ucR1RnxJx1mBD7fl6/Q0YwmQ/YDLrM00aow7/ocH31M65CaXyQ16Hh z8iYVtWwbaEzFFNbkg58nUYpfdzxVs5i/2OAcH9YQYN+3M52L274qipHvN+P/Ytq9wLmNw15MZA wlzucE9MTw3UY+Hiap4kaVSSApAkbF25bC4MLpI5JBngYVuZ7CMssyhJMoc4fmpVB2TOScZzVFU lb8H7bBpCWVeB+uznBLQ0WyWdKsssPYQH7sA1kj53222qfvPN87aKSseIFTXKP0eTnlN09uxL9t eIwZDq9/cSJIIEhyq7kBrUGEw/FLjd/0Glsn5rEG+jjKAkrP6YsN7cCIjyJNKV11zpDm/oDPkNQ lLE1mpCsTCzMAbz5e5H6amNdSfoaV6ojK+uOWXD0Z5b0O1MRPQ3ISqzzihlPyvyZcAS4p1CBwBE Io= X-Received: by 2002:a7b:c38b:0:b0:493:c4e1:40a6 with SMTP id 5b1f17b1804b1-4953c28b6bdmr31046315e9.32.1784134564703; Wed, 15 Jul 2026 09:56:04 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634e5b8sm16561332f8f.6.2026.07.15.09.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:04 -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 v2 01/21] gpio: Remove __maybe_unused annotations from acpi_device_id arrays Date: Wed, 15 Jul 2026 18:55:06 +0200 Message-ID: <4f287856563d481cbe6456ab3ffb870e0bda0ab4.1784133987.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=1512; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=VFQtJrX7tkOz1jHG8Rpayl2n+pKNint/uul7zVf1CxI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7ttLzBz2UVtRsQMyIyU7Mg3xCMoq+hCItyMq W+lWrqnKkWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7bQAKCRCPgPtYfRL+ TqnQB/0WE7mOS2zkFmCWCDf6Vb2wAFTEtdzxb0XN2TteYVYvB8iK2ramm+DiamqlegrvwDGi6Gf e5ZKS6DnPmYqIWlyTD9yiMuchRIKGPnruNT0rtPPt7iyOrxVkBpoLm6BWsR1CNE/cus+aP8RsRi IXVj3MtttaQBFHcogFL1ZK2gypVdkjHVE/B6ttx1Ymz+3BDmmOBdWP9otvuFtpWfByUpOUwlrEw 1rwfhqHdUJdD7XZE/KV5VsLAwGaqXvbzm/XrZ+2w5gG5gRoylSvJutVfh1Fk+dP4LQ+1vTu0MBN lmYRG7Z9dbxfGrQMIblXP1upC19lnjm+iNpSGp8Pk+ebzaQh X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Since commit 5ab23c7923a1 ("modpost: Create modalias for builtin modules") MODULE_DEVICE_TABLE() is enough to reference a device id array even if the driver is built-in. So the ACPI device-id arrays are always used, thus the __maybe_unused marker serves no purpose and can be dropped. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-mlxbf.c | 2 +- drivers/gpio/gpio-mlxbf2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-mlxbf.c b/drivers/gpio/gpio-mlxbf.c index a18fedbc463e..1d338b24d52c 100644 --- a/drivers/gpio/gpio-mlxbf.c +++ b/drivers/gpio/gpio-mlxbf.c @@ -132,7 +132,7 @@ static int mlxbf_gpio_resume(struct platform_device *pd= ev) } #endif =20 -static const struct acpi_device_id __maybe_unused mlxbf_gpio_acpi_match[] = =3D { +static const struct acpi_device_id mlxbf_gpio_acpi_match[] =3D { { "MLNXBF02", 0 }, {} }; diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c index 4e2f3381d82b..650abdce863a 100644 --- a/drivers/gpio/gpio-mlxbf2.c +++ b/drivers/gpio/gpio-mlxbf2.c @@ -448,7 +448,7 @@ static int mlxbf2_gpio_resume(struct device *dev) } static DEFINE_SIMPLE_DEV_PM_OPS(mlxbf2_pm_ops, mlxbf2_gpio_suspend, mlxbf2= _gpio_resume); =20 -static const struct acpi_device_id __maybe_unused mlxbf2_gpio_acpi_match[]= =3D { +static const struct acpi_device_id mlxbf2_gpio_acpi_match[] =3D { { "MLNXBF22", 0 }, {}, }; --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 16:45:13 2026 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.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 B646231A556 for ; Wed, 15 Jul 2026 16:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134570; cv=none; b=kXsS/hh/Nv/GgIqO5huVc56ADhbaf8iLPOp/sbAJyPHhowaBVjhWaZsEOhdKFSYD1GIWZB8E5I+ebX+i6EtYO1nWbk9yc/n3zpiJC4e6uYFYTeuQf2k6pxaRZmGrVyal8rMQdW531rOC6t8N3ts8HdXf0FOMlTP7Su9bT4FaQHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134570; c=relaxed/simple; bh=6MDfYdI0ZmxlfD1bTgikvWpX0kJXba/hXa+XbdptlOs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IlnB33g8XkIsW57u5jaAHNcXT4sWQKm56cywz7HB9LKbIkfzwyduLVEbcU1pV06I7lrhx78EB08esWyWfcLkctu5blo3wCC4A1p52ClUEcUgfUaKr8zMPNjyfH3C3RozbiRlYlXUczV3uaIanJ9OL7OLecSu4GTS0EXULF6q6Rs= 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=LZVu8wEY; arc=none smtp.client-ip=209.85.221.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="LZVu8wEY" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-472326ca506so4683756f8f.2 for ; Wed, 15 Jul 2026 09:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134566; x=1784739366; 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=szfb7HEKMZkd5ESg+Lm/LZKV6rBdRkAe3oyDtE6GKZc=; b=LZVu8wEYCRyN7jCzmnM6Wy5fwzZSasWxntSmvrKUJnri2hg4cIvZgUVxA2ViW+m90s dDCGgGdIZ7At/ftxPDgO0FqHQNH70BfbZPVnRQDRlSZjXNl257xd6C2TDMAOiEKDdS7a UIjbnF8OMXMs5PKoMrnzZ1YtNP75rDv8QCM7ZLavfDX93xpnYOwoCg4ibSX713nF1rj0 8kMYTOXD6Aw41jzYn8ySIPUyaoq6EtJN4uJ5u2p5PJNPJC7oWVu8F5Jr5ZDpveNdyCRL mJCuENmQYGGZc8k0YeDOBXA/APj3pJCnGf32BbDBEKQ3FPJ0pFHk3g2nRF0GFJ+Ym4LR rFXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134566; x=1784739366; 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=szfb7HEKMZkd5ESg+Lm/LZKV6rBdRkAe3oyDtE6GKZc=; b=GDTebpsetaaGLdcAYFn04M2Vtbxl80KcQ391Ap5xZZZ0UCFbhr2El4IC04LGZSQbMT XORjWs3lAyoDS3VlC8cQHUrs2KWvXNId/383OkfyIqomk/q1XWfYGu7ENkca8usH0/T+ sMZeSCMnSFKOPXiQQr1ML0QFfrrFMijBrtXYxwQHJNu472tiPayo3IESYs8Zgh6gzfEQ +2LZ4IcV9qYSVFGhSBKomMgLTtv+Lh+rlDPE7G/JoalRrlcdFLAjVoubdjPPk9SBsxho Zpq2XIG/BpTh2qrQ54FzEYjVU1RovmDeJ0oNqCvmiuOO7cOCAI/JHDEg6b/syweXluZh 0G+g== X-Forwarded-Encrypted: i=1; AHgh+RoSbfmhaL3KmkIS0HpsLXH/mQf2jdz/Sucxr7OtFTJvSRrLc6sv1bTuoD9t8S+YPtN4cvjYh4wA7Gyvv0c=@vger.kernel.org X-Gm-Message-State: AOJu0Yx+A9R5wElbjNOtm7Boka37e/KGIkqtabjRW0D/lLxzqZpHj8s3 /NdsQ8OPAvq3uFHVAiIV7uMb6X+qBhE1KAncSukNY6afdRa3BKpoMVXFOI6PkxML3yc= X-Gm-Gg: AfdE7cmt0S0kuUwbL9f3SbJlNMrAh6derUbhovHmqoxwGyGhst+voFbEKtAixEnyccK B5DWBOO2xFz8K1ggiVQUKZ/zcxcg9V7MUC+V3RQ8QOiaEX8ow+savWQcUx3FIbmcciEb5LoGQSL XasHH1ePDR45TtFEo6oo9MzsN7lxLWBdfbk/IlmXFuw27bGcmcI79FOxJ6J5FWBePMLjAcYzEUZ 9ZR39HX//RoIKmFjJ2u2tDYYxCTnbh1ZeWPGDzosLwxfPrHEo9GKmNCQdLTSXFbYWtfCavFLBhW 7LnpRdgEIc2z29G18krWO7oL/vZ/jRNKsrdJOsoRxQjyjcJwa8hWaeGS+0bTPjZqe/BxVqC6TsZ ebYA0xs6ttcN46rDiRM2xyEWwaKJD7QV7YEDj16jxxiY7mw1e1jzKHUrpPdtkSsoRECbx15YFAV QdN7w6/dI2XCV1R9GjpvsPfWmPDWa6UwHcUDz3i7e2L7su7AeYQ7zP83MyfbiXhQL9TA49B5s7B wA= X-Received: by 2002:a05:6000:2288:b0:46e:997e:b4c5 with SMTP id ffacd0b85a97d-47f46340a72mr11948608f8f.18.1784134566044; Wed, 15 Jul 2026 09:56:06 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634e0e4sm18986274f8f.4.2026.07.15.09.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:05 -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 v2 02/21] gpio: fxl6408: Remove __maybe_unused annotations from of_device_id array Date: Wed, 15 Jul 2026 18:55:07 +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=997; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=6MDfYdI0ZmxlfD1bTgikvWpX0kJXba/hXa+XbdptlOs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7tvupc1x6O6XT28kKgbi4pQ1jZQNlsYZRNkd 8DMaJ8l9cSJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7bwAKCRCPgPtYfRL+ To9mB/999Z0XZVbUY6S7f4dL2QTmV22wiL3nCaFu7Pog3i9otmcvqOt3YTOXN2+ymdI5Bv2CH0U Wl/Mgu0lykIcGAFOaGrHvJqB/T8x5tTc9vqsEppwDe5yWSRtwIcmSmas+Qs+b7RKazLpu1AW4ZX ud8Py1h2vZJAqbaPXuYsX1ZdP4yurASjfNBpyE1NnvwClujgrjcd1zqDmLnyrmFHNrp9/vRm+3R lUi9Z36D9tVzZA6r9yQ7ksvI4koRueIKt350v/IIc17VHuuyeBrDoX1X6f9k/IMmhVTj8nilaGU UFNY/Q0UH1QE04XiN04HAgV7ALlGowyJ8gu3jUHI87CrSRTZ X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable Since commit 5ab23c7923a1 ("modpost: Create modalias for builtin modules") MODULE_DEVICE_TABLE() is enough to reference a device id array even if the driver is built-in. So the OF device-id array is always used, thus the __maybe_unused marker serves no purpose and can be dropped. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-fxl6408.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-fxl6408.c b/drivers/gpio/gpio-fxl6408.c index 45b02d36e66f..8a7e70180efd 100644 --- a/drivers/gpio/gpio-fxl6408.c +++ b/drivers/gpio/gpio-fxl6408.c @@ -143,7 +143,7 @@ static int fxl6408_resume(struct device *dev) =20 static DEFINE_SIMPLE_DEV_PM_OPS(fxl6408_pm_ops, NULL, fxl6408_resume); =20 -static const __maybe_unused struct of_device_id fxl6408_dt_ids[] =3D { +static const struct of_device_id fxl6408_dt_ids[] =3D { { .compatible =3D "fcs,fxl6408" }, { } }; --=20 2.55.0.11.g153666a7d9bb From nobody Sat Jul 25 16:45:13 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 5863D3B42FB for ; Wed, 15 Jul 2026 16:56:09 +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=1784134570; cv=none; b=DNTZCn6PBTwwjMcwSE7KzNPf6/hm4PPRH6o0odf922pGJ6ZxsTXiRnlt6w8Jj4cCchdY2Cu22Ici+PjhGK0F7S51WosJZtVlRHtYLLIRjhrC+67U3H7IutiHofGHN02yfYGTawo7tgsbDJ+hWeouyPA5n2CCo/2l5dUu73x0UpM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134570; c=relaxed/simple; bh=6hwJuma979jZQDZLBkrMYqYiY+NhQUd+S7AVIvNjNrw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pmxqV4qEKNQ4EMcBjj848zQSPHFD1qdExKCJFZb4STP30lhy+2tHi8Ufh4GMJRdQImQ1j4U0G+qVEwS0jVXN618foJzzIYoJ4dNJxE9TV6gPsV6RV2uTgvJjMXKbtQmDMc2JWT41rxHpIcOa1HMGGL2zxE+kre9XrQmJiFu/zyY= 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=W9dAgCEH; 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="W9dAgCEH" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-493b966dd74so22915235e9.3 for ; Wed, 15 Jul 2026 09:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134567; x=1784739367; 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=4DVSVL/HIeRX1Q1SSXYhOkwGEVj2mM+l37dv0HLLm48=; b=W9dAgCEHgjTvh5nbzaaxin4lJ1QD2276guAPzLzaKYWVCU3NdMJSxlvP+KPzRL/zK9 0UIpNTAEdR6nRZVuOpcV8D+D4x46mdwFZg1ryL5wuZyNemWbP3R1s7/AkXuCIq8kY9t0 7uSuSzKpS7TJ/85hcV5QDRmZF9KZWId1j8EhW9weFbWGDnUrymzhgn9m+OuOHS6ykOjI yF+YAm794mVGuw0xKH+cLWLUVznNflePkdwfJQsDIATxi2EOho+NM1hZDHlRYOZPHwPP 8Jf1+sdAA2ufex0YD/CKYlu2e84t0MHI2mhdSqyHWDwgABCbZYb9jfs0XXkoeOjlR+EO QLzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134567; x=1784739367; 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=4DVSVL/HIeRX1Q1SSXYhOkwGEVj2mM+l37dv0HLLm48=; b=KKH1qxITt/SstAvLhuOGFl+Nd/3Vhe/XkdVKG/JBBzjwcUCqlEE9GMLmDpgWw0Y5Dh gWvD9muXNgQUbbOxc2HGHnk9WdjSFXgHENVANMssLVpMtQ3H+66Xu8ilvk5jyyOXRTsb +2Md7DxfG10uKeY2VjKl9O/q52rHXh4kctICv+aWxh1PkvFiBfPLpNszJ1Z6t38D3mbQ q5Pzlie8cSXS6M39gF9ZW91SgPkA13kuwWEVdKxKWSz9a5Pde2wvqzie6YEudnCQXcgx KvADdVaXOdAxeRzcqMxtQbYyF74yZo8pu+K+YMbPAEX8vTxCp5ZT69BCk9xwyUIHuu6f WgFQ== X-Forwarded-Encrypted: i=1; AHgh+RrXVIQJOpoHsT8QFgmO5chn79wrMjheWGEw6oi0caPYL/d/9ADX5l0E/c3MiKZYKqattj04N8OOnBNnZig=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2sOkNkDWZYBfwR32GPliMYOoRe4gk2ypqYUOeTBlnoeoy2UsA Bl8QYUZl5Wr4aL+HxTFABvWf9dcX7fgVi1C8P0D49C14FqTAMOhFFb5xiTiIv7WUmgg= X-Gm-Gg: AfdE7ckW6oJMXtyOxWKvQlKnhrcfQnKsznLNJEXRrZMkxS+QaI+N+WAFG0Qxv8qE1Eg as7CC0jQFeePU3SsKWG7Pz31STU5zy7lfrbxx0Yle6FE6UHqGUhLV/Xoxjmg9SyTKb0mQQ0YUi/ rDdXlDjIoQHyQTdkqI1OQSQ0qKG2qvtaoroOXHF7Jwil8ZTCIhXQ5lDERref7tJqyiAfGETfHC3 Edgu6sPZvPuB/6lOC34gDB75d/iKCr1KJFQziUcs++4kqDojPF6rdX9Dh/zl0hLIKx5RHfQ6QRq KTPrCLcseqE5k4WuFcM37V9Z81cSLTUGLpyQs8OAmFKJtHF1k2bOW5CZWhXzOcRCulx9MaWiW7X c8ISqHYm+BY+Pob831X3QOXlGbNWqUGRuNrpM0tv6xeo/5ckInIOsaPqa/GR9O9oCIXDqgmXtN6 ztV/g4J6U25Ea2Bas1vZ9Oy3t3eclspzzryNlt5eLvQYFaPkX9DC1RJI3IXYJmmen4hJOdgB31f qDl+K7j9TLPdg== X-Received: by 2002:a05:600c:4708:b0:493:f5d9:3b0 with SMTP id 5b1f17b1804b1-4953c2998admr40681815e9.35.1784134567369; Wed, 15 Jul 2026 09:56:07 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4635082csm17833011f8f.7.2026.07.15.09.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:06 -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 v2 03/21] gpio: Drop unused assignment of acpi_device_id driver data Date: Wed, 15 Jul 2026 18:55:08 +0200 Message-ID: <84e35efa8e9ad4b9ed9f1a966d644e26146b662a.1784133987.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=2828; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=6hwJuma979jZQDZLBkrMYqYiY+NhQUd+S7AVIvNjNrw=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzw3YU9n5O6WJNEEns9TrI9/3JU4Oix0K4lptUW890t6 s7nFgh3MhqzMDByMciKKbLYN67JtKqSi+xc++8yzCBWJpApDFycAjCRhmccDIsDY+f62kg9q5WR jfrJ/t/ohjujulS4f/mJtaKXVgoaHVluv+lQm82VS30zs869dl2tJtx9dAVP4MXUC+p5v09OTXj 3+3+wniRvXGvKWRbxv3dPfv3huFLg4+m9Pz/3HutdplN8TdRHsezNbFc5iaIaKfeOzEjPnRHPF9 5sfS1yoZRjepFNwOTd2vHJnY36PNkZUQKsgvumzZttV7GV2eHOK6HnP3bv/K5sPnHqfeZl8pcjJ 82sXt///dblRatVTgrEfiipF5DULp4suLHN9vVXhqmOl215cz/vDX/H3Oqez1MmLzdNfd0xtST/ x39azYRPTXPON3OTDV8XKmkyvTPGtbXast7z2JqaCg8uAA== 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-mlxbf.c | 2 +- drivers/gpio/gpio-mlxbf2.c | 2 +- drivers/gpio/gpio-mlxbf3.c | 2 +- drivers/gpio/gpio-xgene.c | 2 +- 5 files changed, 5 insertions(+), 5 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-mlxbf.c b/drivers/gpio/gpio-mlxbf.c index 1d338b24d52c..b2a7a41f1437 100644 --- a/drivers/gpio/gpio-mlxbf.c +++ b/drivers/gpio/gpio-mlxbf.c @@ -133,7 +133,7 @@ static int mlxbf_gpio_resume(struct platform_device *pd= ev) #endif =20 static const struct acpi_device_id mlxbf_gpio_acpi_match[] =3D { - { "MLNXBF02", 0 }, + { "MLNXBF02" }, {} }; MODULE_DEVICE_TABLE(acpi, mlxbf_gpio_acpi_match); diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c index 650abdce863a..ecb0feb9b73f 100644 --- a/drivers/gpio/gpio-mlxbf2.c +++ b/drivers/gpio/gpio-mlxbf2.c @@ -449,7 +449,7 @@ static int mlxbf2_gpio_resume(struct device *dev) static DEFINE_SIMPLE_DEV_PM_OPS(mlxbf2_pm_ops, mlxbf2_gpio_suspend, mlxbf2= _gpio_resume); =20 static const struct acpi_device_id mlxbf2_gpio_acpi_match[] =3D { - { "MLNXBF22", 0 }, + { "MLNXBF22" }, {}, }; MODULE_DEVICE_TABLE(acpi, mlxbf2_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 16:45:13 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 20FBF48A2D9 for ; Wed, 15 Jul 2026 16:56:10 +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=1784134572; cv=none; b=NaGR9tvr9mMmZF9JLOAcT2/vmk48pnIS6cMbtkakIJn3moHnaUUpPwG7V0pe59Jp9QbwOV8P2/D3LKdRn8YlRTqjbC+nWxseucoD35yQnSOkx1VPVEEw3Ox/A1NPuTqdvN6FYggR8LyZAJggNKQvQCBA8h91AEcFFw7qmeGLE0w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134572; c=relaxed/simple; bh=t0FnuLNehJGLnitNhfL5kI7BpD/7c8TUeLlUxouyfKI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ckVTC5RpHLg48+JCEArVtnyvsivsv0fqYTlFuxnz9+tGHCNfppS4CWtfXC3HSO3uej21Pg72Eiw5tvWutWQE9/G/5BOB/AtaY2+N5URqEzRIahbRiQM+veymBrYR5GMVfZYPJ6hzSaD/ZalPBpBHynVCBatPlUbL341zlyw/JSA= 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=PDl4xPth; 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="PDl4xPth" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-493bb510ce4so39216575e9.1 for ; Wed, 15 Jul 2026 09:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134569; x=1784739369; 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=PDl4xPthNXftzpyvJb0YNko9SKkmq9YDaDDmexISO1NlcTfHTNyOOpQcI7jng7AqYi qP0vhuCCgdt3gedCDDtaX3NtDSqaBUJlEaAEqYS2ap4odkDwiWSpBZsJrewydvzYvltP V5JnnZaqxbt6RVCX9yCiL8TZ8Wpl1ENahgToUJwJDmkqOomLNaAIC3SfpP707TLfeDTw MbH/G3xqthx4TSd8LKLwdgxB/GImmud+AC9jLkgkQ/iStmLNZGrj7+3HBL4FGUN6aXF/ qxbqzArXXouYBdJDGcqIehL3dXWuug50HqNFfnf5uZmwiRsw8BVOsBEy3lnENZgVuMD7 PBJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134569; x=1784739369; 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=Fam8vXSGyvKUqlM23FeOdz+wyLG55fo9EcfHRjVmpH/BJVFeDWk0txC/y93RV7yBt+ Nvyd5stHxKNSod7LHi9gUFsJMdQ2Pw6xVVluv84Sb7ZCDansEmW6ytnL7B42zy6S2bMz AoKGwi/cIQCJsCdMpzzDR0amneMxDywa5wu/39dubq5XEHu5wy5hn2dZHxEX8nOsCYlH apJh0byI9//JCWhwicSQFKOtiZ+BSUwN4JK0YSxVnQgtEj5PYKxw4RgIAXWXkkMfb+Cp 0zLMQiiFveAQlGsfmJC0QXEIzz/dzdX7iBJ8mQ3YBmPRSphFEHhw7ts20CokLS28SvoI BYsg== X-Forwarded-Encrypted: i=1; AHgh+RqWVT2DwDrvlajv5tQQh5fn9iD7V32bgMK3Kx1CEnzVCiqx9QpIXOAidKuWtbgkqJmnuyy1pQ/14MxGUGA=@vger.kernel.org X-Gm-Message-State: AOJu0YxS+b2GrIear0U1Nrw/JYHTJ8BHmzrZVukqoWKztv8V4vtAZS17 YYQpQ6U9GigBHW/Q4cgf2TAz1DHu61mgsqPnoAJjPLPAyJwKmar7OoyYh/RWg8N7hkc= X-Gm-Gg: AfdE7cnWCYwtH2L7g5sOjnbXzECvw+ksj+YbC+wrdS1F4AFwp3vfvhIE4xqFgN2R+8S LXrBLlSd/ANIpLwlgfTgFy9ero7gR+nrrnrPPwUpspBZGMKFailJAkFPv2lL0IfnEnCS4xcNvc5 nZEn/7pv9rjNEGlqqB7gd7/zhXPLMsm5T1rmKTImfUagl3vppLzkTUnhihRVNStOEr14bEHBUfF 9ETYA+tqFckTvUUJgTuPji6gz870WBY9K7CyfclPJGOgcZ8/e8VIfqe7vF3n7qrQppLDTMxN5Nz QPqhDevYSB5t2MRhZ0Mp5xmErjQSguO40WWAMjlbeGvrB69gq+991WQm0UfjyajaeZiTYpfVtnW 4znKp3JdPUesMYUyE5e2FIVJ8Czt+M64iK9oURuxfT3JYNkXNRR+Bc2oanu6KeRK0vMaNE26NUR ciNgPquUbfjQEwmFATwcXw10rdXUIyfsYrc4RArHn4VKyDllVCN+65USqGaQnamDRw1Rqz2buzw Uw= X-Received: by 2002:a05:600c:4614:b0:493:cc25:9c0e with SMTP id 5b1f17b1804b1-49538999453mr56165705e9.14.1784134568704; Wed, 15 Jul 2026 09:56:08 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f476e9d02sm18110821f8f.19.2026.07.15.09.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:08 -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 v2 04/21] gpio: max7301: Drop unused assignment of spi_device_id driver data Date: Wed, 15 Jul 2026 18:55:09 +0200 Message-ID: <4e0876bf803938e09b5b5e4aae0f3c66847762a4.1784133987.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=857; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=t0FnuLNehJGLnitNhfL5kI7BpD/7c8TUeLlUxouyfKI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7t0er4O9iFGZT+mtKDG98P5hs9sePtVCfV2c EhEfDc85EmJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7dAAKCRCPgPtYfRL+ TgqUB/9LEvJrJ6VGk1bWpofHOWjMixzjZmi5m+MmzyDyK9VwIAJXTaWZsMpdoHUw9ZC6oANNbjK PJgI8QN1Ep8kq2J7rG68tSVxUFu05adgS0z69XxiMBM8jsXkVanpWYAwGOA8KqDprdRfrJoyNCz lLcx/lKjPAVnQf6TTg4HrSvFSw8Sx49xepQ77tm4mwE88k660hNWrbVUzFPZvDVCf/9Byrm/fY1 rD5dPu+Z8DggbH5FEqtSdAwJ5kt5GcUM4QawS3auZ0v55IO9HloB+x0BefWVKG/9nes3jlsAQJ3 vOsp1YZDueEOW5S4guIkKvV2z16qoLMhvbrRPypGdrWxDgm3 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 16:45:13 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 7B3C847DF8B for ; Wed, 15 Jul 2026 16:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134573; cv=none; b=dK1bf5x7PcrYLvk3hSJmMKJpIA0ixSy5+s5BnVt+v7eMXye9A/Ux74rNxsfavLDi79ZB49vqFGy363kDoI6nBiBKvMJsTWmAEfl5ilM+505moz2gMeo2bKWu6KuWtd3KN/PXFLxLrr19L+hiBemwkivjfWtizQ1NUQmQ3tL790w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134573; c=relaxed/simple; bh=zNudPnZfpECzuygYS5dd/9YFmWl70aaN+xMCCcjfptM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gFnYSEvmwqnQbsauVHBnTZmPmHFfHenTxOzb4W78ApC66rAgR2ehF8YUCHU5vazSVRV/OYIYPAOb11AZSh17GfeoR0btBEdSNwk92ymntCkohHheHsewn80jTXRghyS4DjKdoIOpUHzMkFbi6bOHQJ/O/Ht4h9i0aOi+HtE7zTc= 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=KZfDA9Qg; arc=none smtp.client-ip=209.85.128.46 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="KZfDA9Qg" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-493f140ca8eso34057555e9.1 for ; Wed, 15 Jul 2026 09:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134570; x=1784739370; 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=KZfDA9QgScSk1uWh1r8L4oa6K/Yz5Dr0zzBpdFB/ziW4DcKlN5LxOE0HRrpVyK1RLs q5po01N6emPWptw3Lgx3vQeoJ8+4TQxcPPg1J/mvlWhpRR8SIWRZIVtKkkAcC5WOByMP hpV8j33njYE2OuHj29BbyyFvXnqigqGzSuwrM2FekJ2/ivdSXR+o2TPD1+IrWgBU+q1R DWFp5AeN+zp+tap54q79nryF0k9aVUm2r4fNc/Dx/uZ9MKDt4d8Bp3FRpeWX2voALjiQ isucz9BfwzkuG8YOYlSOvwXBJr4slSIeKyM4HLthmJmJ4adQfNBFu1ZwUNkLDEFbL97r LQfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134570; x=1784739370; 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=e7/r5htB0iawX/ysIMnAfcEjTCY2X3Bk/GQx+MO/zGWdQDr7xL36GMOnKxwFKmU0YY UZhWyo3VNariHbwQ43xLr9jqG8VHTVDaG2+J8YvmYH4m9FgsunRIyTUyRTRcD1JJA9nr O3NOVhv5ZvAl8v8s4kxMkIdZ6UC/FLsfWSzR66h+tbMho8FwalrM2jQnRvYXc9sHJ3zV 9mf+uXXxc7pO65YvKoH0snrMxVPFNNI2UNG+yzy3y45Ijs29wO2EkM80Iwal6alZceaQ K8xVWdcrnpvAew5oHmu3HVm47furCQEASf+MIf1E6aP81fEEUTRyHfIlNMtOgRpYMM5B sCXg== X-Forwarded-Encrypted: i=1; AHgh+RoQMbwuZp0OGjTM2vZBxVM/I2O2hVuay/FRNxo5z99mdzxkkmps+9s0f33aBYvljRvfm7dOqdh0Hj6M560=@vger.kernel.org X-Gm-Message-State: AOJu0YxNhE8MTvMgVdZrfsOCJW2mTqznqNHU1+ucTD9rtT714b1aSJPb 8jkVGlb+Ok5i5QCb9jsTy1XSc+Wgar1jDYkq7xSbYMi8xBGBD7ONgOdbnuirJJnRVw8= X-Gm-Gg: AfdE7ckVEUcN5Jv6tWsAAPvC1vniDW7xKSxgWPXAXcNkCueQbdydixXsKnCf96poTWY VjXwXGyctzpVnGKsVyRwYjMYf3XBuFKjomjOBJ4DuBbI31mnmf0AIIqkolsy47+FiGZ4yYVNtDx Vq6UBKPz75I43FhrYYHS3L4Q/ZUvtVPu82q1shkFgVFNhJ6Ao6G++KsLma01RwWX2YpkpY40aYW UeLJ1HiB6pVwQIiUB27X0wWmoAd6rvgLwITnWSAltfKA9EoHFMNJeP/Tw0KjOXTQPuG8boBHOIA AclqQHzdj/AljapHGBKk1t5d7g7ybpmBtXzmjO9d67tpMgo9NIMFqva4PwJH43xSHYXyhjCDYT4 wdt7ZALIaPD0dHYb8rc0gnEsMLVmVgKb2SV6jJuvP7wCQy6RznWgd9X0ZuerzlOX5ORvKj1Hbgi i7/DwGOWgbo3E6tLbK6MUqWBDURsROoyc9fwrjAVnJA3F6vgRoDFVZ1brFmlJSBUo4LpJc4wwZ5 /0= X-Received: by 2002:a05:600c:4754:b0:494:ca0e:880a with SMTP id 5b1f17b1804b1-495389d2ba4mr81124325e9.12.1784134569858; Wed, 15 Jul 2026 09:56:09 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950873270esm158077145e9.6.2026.07.15.09.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:09 -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 v2 05/21] gpio: mmio: Drop unused assignment of platform_device_id driver data Date: Wed, 15 Jul 2026 18:55: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=887; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=zNudPnZfpECzuygYS5dd/9YFmWl70aaN+xMCCcjfptM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7t2GGMNBd5QVGpuo5ECw8cvow56Y1goFtcu1 9GRVixM7pKJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7dgAKCRCPgPtYfRL+ TlTTB/9uTBvIcQn+GGc7rwvbuiIIWfAtaN8Dc1CutuAkeq7XhVgb7qquuAJ+Nb4vboFKuKxOY/H WzogpK9BSpzTLrees/GfEK6+fNXCAlzKWjHP0jYfXrfSwy7YZA+xcyCEWvyZ2rdsWkmH5i0ut3p FIRs8THOHJyHYHwrjZidhuCkcDnLlTnrhn2wm8P2KZIUXs5DL9+DQME1G8e0qot3JAgbSkUoDzd tlSy3ivaWi6kKMpNr0NnfroGrmkhgKJM0Ve7tZbYMm7iSZKVNCuz7R1CJmI1UVxbV7O0KGHo8Wt jHt8nfVI9yFgsGZwgJ5tRjYGJEi1lrL/c7JQOzVvUG9gzf2j 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 16:45:13 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 216D43B2D04 for ; Wed, 15 Jul 2026 16:56:12 +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=1784134574; cv=none; b=onf20fnqki92oww+BwloimIDaFnsHof9hisxagkRtnhMANcOk2q4OspaCsfoHo3YFBMBGXm8p7YFZ7yG1+XSMmVyHYLIfB38xCYAWKiUGyk3jz7eT+xC0ySJgo2Q/qebGKOgCGueLKY7b2Vy9QIqY+36ODyW0IglOV37SGpVMPQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134574; c=relaxed/simple; bh=V8d6/iGROTnYyhmR1WbpzEmeMZygBh0v+CqGCSdvD9k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YrmXR1C123Z0Gok2F8brLlU1w+OFkthxzunA1LCMyuaoUMkgo57jKLEc8bCewMeu3K8FNCoFCXXnK0fNaXAlscozubrrGmNXctvuhs/y60wWfli4ltOLU7FGmSVBgz0j6YXZVA0arbx8ckr1Tns3aV/anaHHS2Z8ck9Zo8Hoqwc= 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=Jltbrm5p; 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="Jltbrm5p" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-493e4ccccc2so36010045e9.2 for ; Wed, 15 Jul 2026 09:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134571; x=1784739371; 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=1oTeSLV1thkBfwriINCaK/hChud8arHNg2YHv8Jfbts=; b=Jltbrm5pgx1FnPP63a0EWP+Hpdhr8esWQYmUF+bua4zgLZ/ZfRobPT/PiKCeIPzhl3 tYo+w8Y4Kf0NrmbnW28esVvngTcImO1tbjgCh0g9wAiufyTj+/w4f5/f7/078qMlSuQZ KzOs9YWiBs2P2HhKIEHODUVJPmiKkP6lVlLc2lwOILC2cmTsTWBg/aHBoSEPYDdxgHub 79G3bwst4e68WGWY3G2qXflB0VXyH1srRxI5rFFFRbFMIrNd4RdZCIIHj9uPKz9flV67 V+LIucCa5rM8XY0z+Oh3S/Md7mot32seeiOMb894uhDrBAqBXFpu5rrfk05u2zZv3y9Z huXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134571; x=1784739371; 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=1oTeSLV1thkBfwriINCaK/hChud8arHNg2YHv8Jfbts=; b=T76VGz2GSK2DX8YV+GpyC84f18i0BjH+gocm+1QY5hXg4E/AOYz7H5BxyUQy3Oass0 fa3omnjM1sb6FZGCE4cYoecTrlKWVMT0ucPThII2AZ2Kzo/KAwIk1y7Wsi2HqyRhHeip eHWXokVWmG7eRhV02bhT2HWuxo/2JecoArpod5aS5WDpchdGiNlegEH5Rt017q36XGSP kdBIcNFx87bdrYtjf7/fxnPetiPBYxOrLykiiWl54TqRds5uIvJPfos1Ze1BLU4Q4hGr tuq9GD9cOLs9tES1BRI8UsB5tNlSYeHlnOfEd6uKj5GKtz1n0DcVEwZ4/u8uliTV7UQd h/FA== X-Forwarded-Encrypted: i=1; AHgh+RokfnD7SzqyPr7nFfzX39L23KKsjhuYpH4Cy5jldzx2S3ESe0020jvOx2fazLPjNufkd5Pv2142+0LQ6IQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxFFWrs5MVoy0JWPy6Q8ZJsKzDG7vPIppeYzYU0Q+lh19s9L6I/ 7Q9FoSmexjaW7WV6hWCC7G9aLLu+0EEPJfeaRxwwU0VCT7uLiUe5ZK2lgZt6tZXRT3w= X-Gm-Gg: AfdE7clMO32LgUdN4dngJYTZIwA2/oAp0ih6bN1p80nWapvNAkHR5ZQ+qWfrzltUPT3 ggqafkj22UA4+HYDrfJgfEK2mgVaCPqrp+/L4ZLaHvob5pe35gcPOuaxgTUJBJ5qJOU9iEVwjoP 4xcq0/diFEH/BwM9cYzvTzoL+DWGzyTWNVteGT5UZx/giFNb2WyIrezI00JZZksXeerhYQkMcsE jxuLehMD0pRIyY3XzGDc0uNtyGsnLXCpJ0dE3nlw5zo3Bv/n8zAaGcED3ohVc37XdVzmutA0u8z LcrLOPPMJvJRwebWHBg8T6bJ4rG6aoCCbrCQxddLOGKB/aa8jGMp0aw2UkOQa5f2gW4JlVHyWqc 711mtSJv11ME4KDqtJeXxP/I0t/Ms6s5W/yXkcc/fs7due+ROe5i8owZ1+Fw/pBM9OEeXgWCdBd e7mdL2Ush6kXFfpAYZOf7wsdySX2uZEEUOX888ZvCSJjBLpuHr5wmaJMSfsJds9WuXvtgTQ+NoD UY= X-Received: by 2002:a05:600c:5292:b0:495:40aa:d982 with SMTP id 5b1f17b1804b1-49540aad9a1mr4948285e9.6.1784134571208; Wed, 15 Jul 2026 09:56:11 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2f635dsm171324075e9.12.2026.07.15.09.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:10 -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 v2 06/21] gpio: ljca: Drop unused assignment of auxiliary_device_id driver data Date: Wed, 15 Jul 2026 18:55:11 +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=981; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=V8d6/iGROTnYyhmR1WbpzEmeMZygBh0v+CqGCSdvD9k=; b=owGbwMvMwMXY3/A7olbonx/jabUkhqzw3RWnmhvSYkWsXO9NYVYpr8mtyzjGIJPpb3Zqdc7Pr W0SV7U6GY1ZGBi5GGTFFFnsG9dkWlXJRXau/XcZZhArE8gUBi5OAZiI5X72fwYVydWKhzY+5RZ5 ucPiyXP1Pbf4Xhvqz3TevmefYOY3L77eSYda3FT3h/iFxS7TEjGa5y8tkuRlvCa2wqnzFvd2VUX z26lsE8XuxgXt3G/A9ehUpTbXoU1shb6vq39Hpv1g64+P3GlU+pyXx8EqcYP+H3em5weVGNQD2A V++u9f1lgVUVkb8PJUsKiHY1LRqeOr5i3K8l1REnhG5csbcYeUmz/d288yvjhm8+jwn4L8FJnO/ KMqoRm2Nw253zRob5stPLtp+7/1bw1Lfk5qEz3u8XGzSJVSg8y3SNeGr9pvVktX5wY0GjXbu69e 5qjhYRhkuefzrDoDjq97m5I2FPXqrD6S0nVB+cK2NnMA 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. Acked-by: Sakari Ailus Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 16:45:13 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 2555D48C40C for ; Wed, 15 Jul 2026 16:56:14 +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=1784134576; cv=none; b=lyOK9NuBnhl7L+H6x5gBRISrZKdmzcqFYqsfgc7ksKD0Hsva5y629YDBZc+0Ix403KeyjztrJWvu9FwQhvL6Ge9i3lxfVnqNmUyKrtV6JQam+xCyoZi6EC0APjPLBeFVtm7BkgVY66oJzyHz0m400qj5pnzkXbZ2ZN8q9DJ8qVE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134576; 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=RQhZdN+OHe8RXN3zZlCFw3DH+ia/Sb+H6f0nQn1KvVitlQOJ4p5/15yYeDOn3RMlotoN+2VSiXjc8heLnAUmlPsJv5dzcDUwtWMze5AgN2+9AG9QXeQhKowRy+WszvQbFz2qta5qtSNaAx9xgm7/6jmabI+88L5MeDFyhswd+1Y= 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=Nho/HQZ8; 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="Nho/HQZ8" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-493b27c7451so10835595e9.0 for ; Wed, 15 Jul 2026 09:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134572; x=1784739372; 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=Nho/HQZ8BLxOJc8YhKancTPjpZkOYbVijxmewHlWvssyN/5uZMkEGUKCWGtiEmQ7Wp EF6QnO1nRasl+dxB0GEQIZalGIB/jIWucOgQZxBmD/PIGH0MB0dvcCglA/2tVuQn0k0T JNhzopDfoM4REUh1q6Cnun+1J+Z/5RmkE3VuGm7Ug0q++QUSoR7wa4miG13QpyYX+grb Erp2XOUQ3tC2FJNnWL/zZpaqYtMt7xr26YaV+erkTTgOGtnAqK/K6th31+aAumQUkhiX S2L3TiTbcCKBaRZDP87q1zNyrR13hH2bU+7hQ5WSFsMUOg+XtJp3/kGbC8Up+S1VOCCa 6UIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134572; x=1784739372; 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=aEbmNkxP8/tu+sa0GDPR5N2M1b4eynffhevyVVtpRWOPfdkEEY+8ZSWJrx4pTpC4Oo ZKFoV9hs1xuV7Hf4j3KW7i9Wu8Vt8m84cV+vRYXISR+BG17Ncbac4agca6brf8/CXNzH Z3gjAF2CAOyPoTrgfiaAaQN5wx0Nu2VRsmsIeb0sLEONKv9DXOGZq4qlCi5IUELNAKS+ LnnQyYilIlkiSqEKXbeMuswBmmJl3iU4C14SnR258SkI5u0rhzqmMcB/wVymRtjjQJIl M+GQuR4PF0EPIJ5lLMFyQ2HF6FF/9cdOU9e2s9q1WDwuQgqxGbj/see4LEIODdZ8XEgo J2RQ== X-Forwarded-Encrypted: i=1; AHgh+RoBDHg9WOaH5Ym8E5yXFGfj96i4vK9zINePxQ+70O921/Ay1Tw+kMnDdkq7APETdvi/lvaDvSE6yvH4id0=@vger.kernel.org X-Gm-Message-State: AOJu0YzQS7SZoUzQJv6t4PDxKeN92MKqqD/V3jbd+t2K9zz/txNCoCJw ZqVogsxcGCEeh+D9w9QaOkM1Nd7e67IcxDOFcKDH2uW3wH/7D3Rf7gRh8jltdUxdAsM= X-Gm-Gg: AfdE7ckEkRUt/qBMMOQc/MDpyaZZRERAOMLGQlP7BG0tOejfk66iIb49Q1TirAuC5HL U8iKCi3I3mI3CO5DkAecxT/A2YfIB+2e+RWNMorHT9AVTbWZ5JMyX6uniCBpnBOPCOzztmhHDVL sQIV8sV0ZqVTKzopa1vIH3y9ygFR08HHBIpK20bPihu7LX3SMehU5eggsRtaH2dLtk5z1QVmJng BkVJaj8aqGw0Git87usJp2wDLEtPaRjpx+IsEmHZ+FqpmGIWXfXQP79DFlgxNpf/XLv2TD2CkXp qaz2I6fEVbJ0m+1Ndaqq19EnqZIkik14fS27oaCBoyY60bTc/RKAJCqqK4E0Lpbb+IvELgJHwGv wUD6pjgBQT8JztnT7udHdEKRkEOtPI3j8rjGycJ4flBGrkXqLB06C3rKj89hQfkby8hx7av+vqs bCmWDQDkVoXVXenxAGcju3DBcCeXWZbjb8oFn53dje52KJatafwXtAECwvyECWLyHABmubCtz5B U0= X-Received: by 2002:a05:600c:548a:b0:493:e2c3:af25 with SMTP id 5b1f17b1804b1-49540cefbe3mr2188615e9.12.1784134572404; Wed, 15 Jul 2026 09:56:12 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4953c5a4c0csm46958435e9.0.2026.07.15.09.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:12 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Hans de Goede , Sakari Ailus , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/21] gpio: Add missing ACPI module annotations Date: Wed, 15 Jul 2026 18:55:12 +0200 Message-ID: <777d5c353ff9ceb2fd6fcda11082a21637af5eef.1784133987.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=1299; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=376ZZD+wPhduikubZ0bZXKk01b1uwRuv+srymK/ZiA4=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7t750Z0iXa6s8cHZ/Ct7+vPBJHvPxLqDqki6 B5iNdPeYFGJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7ewAKCRCPgPtYfRL+ Tp/QB/94ifld/AV1f/z7vmvP3pH1Sg1LjtmCDhzMaWhRQXS6zrxy2zfPOWKbuDn/0VUP244GxPL AYJkP6kSAP/GKEoTx3bMyeH7NojSXdjQ3eV2GoXavBRzmNiV8JKogYskvE2bWkT1u8JPpz9z/VY mRD3kyeo7vw1p2RizVXVb5GHvvThY71e3C5o9V6XDvtVHNcqTlonKAt8ONX2Pcmzk51V9pyShDk zntAabHHE+qS/sBd9PghS/kFR80eYcSpTVEQaWehLe6/53TK9K2FSXCNamrWAWa2PTD4H7mEq4/ Yf41VoUZmWSjCt2Fva3KXC6+ul0Ou4a6sKrbk6GIVaZfbhaR 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 16:45:13 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 3486048C8C1 for ; Wed, 15 Jul 2026 16:56:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134576; cv=none; b=KjoFB4vS9cZ8TV8BeQ8Tg7hXewODtFVl40l+GDQIVazteFNtIE8BzP5d+QGmISdCMagLFM6yLompDB8X+DMjxR3wPTSTTWw9zD1dZkVi3TryR3fMfG1tlC6kfnJW1GMGcVuKDeE3qPJwdJ3SlVJKKBUROjhsbx16oAGiCzYgceE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134576; c=relaxed/simple; bh=3YsCAuXILuqab/NMRxwNRaYrtjbo0OZTMuY0wpj0taU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S6sW0inHgJt4bYmeSB786BVl5P2M5gElT8IqpDLMJzlRzZGHRqKXToD78dd73lwCSq+UaXhfmvPldcOVSrFDz2YvzT3/r+l6KI05NAvx0k6DhOmnoaKOzxQQt5YNvSbto5/o5GyXlDrtTcxV7XnMYHLqwjeGZH3YrXJkthUzrgE= 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=IReBaITe; arc=none smtp.client-ip=209.85.128.54 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="IReBaITe" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4953ddae026so6136845e9.3 for ; Wed, 15 Jul 2026 09:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134573; x=1784739373; 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=JZwl0mdHQBxdq21kHAY92oJ0Fp9zFmHctp9APu2XABc=; b=IReBaITePFbhdC8MKMkHWO6aprEd32f+OhG6Ujm5HoZv23ZNlf8x1yUM/z+PovE5KX uDVDvASzCqYInc5peBh9y5i98n80SyMtfWm3z8J9jMLza/yvsuuBPWdLnv/dWk6JqEQ+ P7tHQxIjb1s0gBet7/l4JE0luzY5QPl6Mt8j1sfqMWkfcfPQ3ccN6HZJPUASc+DiB0IH GNQrtVnMs8wFQ6VmXWpyL57+U4e8BKHNKCTwqWYqU9+1PCJjHbINrAuh+QplwtHNOjbC n9zmXJ/KJcTx69UQCPfmu5jBPTImPfUnXwxn4zWF0Xo2h6A6tcwO4TJ7al1Ma97q1QT/ Vwag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134573; x=1784739373; 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=JZwl0mdHQBxdq21kHAY92oJ0Fp9zFmHctp9APu2XABc=; b=U2c8JtXMgBgtsZitVnFfSlVCBq71mIO7L0ELTQqMeZRhYNw5+3HIoEbRna7PVkydj7 sOvGXkdAS+uRlp/dm2ydl68KtgnnZkBkN4ObkUconkxxt3bkpOWzQtKi02/5Yl7aowUk h/ZZFjKRXZZBjgiBmfRwnWDSJt6JhEe/SFl8Qfe3N5JIYjyr04tzAsT5OTSLLGCneBok 0uRNNg+UiQYwnOHYL36kTB6SaefmeYBI9GDZegVIZpX4aQM+RKoTHWJTxu6BrldhJveH ijAoRLmsU+CwHcJiX812/2Y5LqL7BrdYbOiolCZBvdTT2SMuMNnL5DqBZ6Mr2ikUX+mH 6KQA== X-Forwarded-Encrypted: i=1; AHgh+RojqU5bzZQecbJKRQuKTonSbcVUUiID5p6ouSenjvlDEMllfps9lC73Mn/L5WsGQCWZ8EiDe59ZYD3Cikc=@vger.kernel.org X-Gm-Message-State: AOJu0YzKcir8UMn9ZokdP5q9ItqMsE5s5Hfaun2kjKxTYG3cMOCPPprE VagjWoD3D7rPOQeJyOzcbK08DpzSc1rF4gFuotzg9OASSOH7Y09I/DnZpQYziltqIz0= X-Gm-Gg: AfdE7cl0a11l9GDO87uSkdBZD/doUAT/+sAoFHZsWFZeN6EOWW+M3fLwuNE/+DRmQJP zqileWmX40BSUlAKF/vEFyr8So5H8Y+pGiPhMyisdZOV3+A4BLQCkD/7G/LRMaJuFt9wD9dRK1v a3CMl17O5Qy4PzdEb/iVGc9wYEkuuY2xJ5WtXG9M93MoUwQ2oeg6HabExzVmZAA77gH2TLfJrux 3VR5bqPPTaIQxlkJLQynyxugLOXtw7PBjDbFBafJ0QDOl8PqUFy9IDuMzcR64YKqavv1VIqzNH8 czQ2r+Yu19OgwXpx1CEyQj6Rnnbfi/rdnGTaDIZmv5i/lOeSR4sHpPKKTcMJdlzzQ8Vm6FYvxlJ dKwlkvgLQk0kwx1NGNRHFNH+BXocoF/ANGIcpduEsDJAZzthTDYCKNnOFYfIABkMP0naUs0Tq7i UpF2FtltCBfuIPR+XI4w14Vnap60clbWencMydo1Jk4vsWCcgOOMsjKm75uwlZ/ldLhjxsdX4JE 7g= X-Received: by 2002:a05:600c:621b:b0:493:faf3:3ead with SMTP id 5b1f17b1804b1-4952cc3c566mr88325745e9.4.1784134573567; Wed, 15 Jul 2026 09:56:13 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-49508728019sm160256595e9.5.2026.07.15.09.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:13 -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, Andy Shevchenko Subject: [PATCH v2 08/21] gpio: sodaville: Add missing PCI module annotations Date: Wed, 15 Jul 2026 18:55:13 +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=877; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=3YsCAuXILuqab/NMRxwNRaYrtjbo0OZTMuY0wpj0taU=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7t9pKrOsR4rqoMpOCCuMvAdVRB/xVINHYvJC ZwtKAQLbNKJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7fQAKCRCPgPtYfRL+ ThTMCACFLtpjAMm64mZ5r6G2/KtoOOvXALO7Cv0Vai5EM6C+iGnY8ujA4S9FvOoiW04yz6aaP1g I6B8muF0zEPrC0iOq3Am5pUpgZzNUcXqgF/DviNp7X59vG1HbASxfNfjwPJ44ceoUL7A62M8CUa vh90dD7j0D4Vr7y620O+tcOtrxf/B7bl/Y9JFzXYrDAy/RzX00LScgiMZG8giNKh+5EE1oc4paw R8H3PpqG1RMSoENo/aTOxRdCsecG1BTZZPf1iP5kKfe3El6HeYB/Y/ioMJQRz+kY4fLSaUnCfxk ckTyYq6ZAOZtefPmo+ok/JKXgtnH25HiHekg9U/tqFaxhWpo 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. Reviewed-by: Andy Shevchenko Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 16:45:13 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 98400481257 for ; Wed, 15 Jul 2026 16:56:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134578; cv=none; b=X+W8WqnD+rjjI4vncC/hiEqUFQ8OBc8uDz6R1WEIasDMMEltrWXQ2b5jN0nQ6mbwVURhC9YRDnVKhEz8czUgb2VvMJBDEiPJLPoGnlUHVUY1X/dbJNbBKbLI/a4bWa2xQMELnTIlc3jdJI+rJloYcf+2rLx43isz7A9GhedUSdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134578; c=relaxed/simple; bh=MT+WN3BueXD7E8vjnP0RYZS2dRpHMSwb9Tg95v2dLYs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dFyqrpICksNp5hkOtejf9ndvQ1jrRnrzYa5/qAFg1jQzUv40jjheU+DRPd7P2gegxtasi2JURA01pjWRuVAH0rYtt8Pu4Rb0u94BNxL5I9Wxfe6z8dZvxAGXpguX2k7yNiQUjJ/ncGxvowv17s+T1SFThoIQz0nAZj/H7aCbkqw= 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=C8DBYZCi; arc=none smtp.client-ip=209.85.128.54 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="C8DBYZCi" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-493b1710405so31247755e9.2 for ; Wed, 15 Jul 2026 09:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134575; x=1784739375; 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=0JTEYNC1fa1XezRfD5mnBqmO5tNk9d1OUfN/oDnl/6w=; b=C8DBYZCi7l3GwCWdJncTwLyRirYVh5t1hA4YpL4dgGZWmsSJZjp+N8h3G7mxdShkR2 /q2pin14y9gLjCUTZg0ypnF6Kxnp888uEQioSBGcqb874nQ55ayXI7gLftsAWSn2NqiJ /cswpTHuGfrM4Zd0NQyihDDwzl/uqfRMHpFAA06wAWgseokSDmIb6/AxVv0yoLuK73Oh vUIiYMAYiyL2xdD49Xz1atcN26uth/cHL7K/viotZB8Qwxw2FDEexjuZQD2NAdI1bf0y +Fi03XQduOgqbiYLPcbkk6bpnVjswEbBynmRqJN3f2hKG7mrIVvQTuHKgBjCqq+iKJx2 esQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134575; x=1784739375; 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=0JTEYNC1fa1XezRfD5mnBqmO5tNk9d1OUfN/oDnl/6w=; b=omBjoSjQ8dxBsOiKSAIiSghOiRgljNeK9AOX33Pek+2XMlS8D6uTwLDuiDo730hPTF kdZIKUqWMPgnrVAKAYWGhpgb1Sh7x93wMtW2h7QpjB5D7vmIQmFWM6hF8C6eweCgAe1W s3SPR8M53uPTuCSnhsZiMcw5vnG89UsDfBgu/n+jE5zlDVdVDLp0S4iALRCOQWPn33MG SJASdFMNe8KtdNDXeIbg4kNWOxhmx/kKvI+VNwz86yKKILenok89bhrgs6mTKYs3mNW5 3vlFlyIUS1pFvd36j0WiviLPH+rnV8U25K658l9uG4QvcoqV2WqrzTUs1FM9cPB4GfSu 4hWQ== X-Forwarded-Encrypted: i=1; AHgh+Rqa9Ll2Jh7VBvga/B1QHMqJfBDrpseBu5ybJaHqJKj6vwYBlCXM98Mi7lzUGywa0NZ018A6oqytgAdk66k=@vger.kernel.org X-Gm-Message-State: AOJu0YztN5SMNAIpHJEdxEw8O7KW3I30Hb/cL/NLZ5fhek6sMbydAMhw csC2hhZfaxF/fl17Z53cNq2ytk1UtnLura7LWMC3oBLJNLZsB+HsOOPbnEa4L+ruPpk= X-Gm-Gg: AfdE7clndPCgzXLlTeNVoAC261k3wiosgxsq4/EiAdCd5BVXkBtpNhnAPIHutlrS0g6 GTD5d2jDIHCBTz5YTmW35D5X4KdvkG+qUkZE3F+1lRugo+sWr0yJGOU0x4GLFbmNPL4F6DtGYsB rTyONZwok8wGHy2gh4LwuBFmKb0bpjKhPdxd9ehREpGtmDfkukxrDCP3cVwGet22joyn8LIMECb USoQ86wVYzH+uo3DchKe9XgY11ZZgUNw/90nC4YES85Tu7nXZ5a3SckOp9mDG6cVelc0eigf3bU 7m3JIIRbhf4Z9bCYHY8iaP2zFgzYwIeMIHZ3nhs1Esh+y/S6fwmcNMKzhtPWwoQUmc4JOemJ18h KIOx/XfHUW7apo88U27et2sbNRvJ4snY83WxjLl3jk5s/+Lb0bNsoFTg3GTkJPVldWEFTU/499c Ucvux3P5TDA1MpAHo6QAh5pcbHk1w0ycA3JJz4h2Un13bR9a3xiTTFqDnhS6yRqxCSv/hk2ySWi Wbn0mNi0XG+uA== X-Received: by 2002:a05:600c:4f0d:b0:493:e4cd:def1 with SMTP id 5b1f17b1804b1-495158d11f7mr114527645e9.11.1784134574947; Wed, 15 Jul 2026 09:56:14 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-495087384casm165038555e9.8.2026.07.15.09.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:14 -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 v2 09/21] gpio: Add missing OF module annotations Date: Wed, 15 Jul 2026 18:55:14 +0200 Message-ID: <21ef7b7e2247a1b67bc895f8846e8e5beee1d8f1.1784133987.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=8010; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=MT+WN3BueXD7E8vjnP0RYZS2dRpHMSwb9Tg95v2dLYs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7t/4Ou5/45Ec0egDT+7aKG3n5F8nh5R4/ebo Sd2QnctT+aJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7fwAKCRCPgPtYfRL+ TlnnCACx/KQvEwp4BDf1qfCXkUSmhKdQcXMTzFlosLNzTOMeBpbVLu6NrSyMlnUbrQmBT1al4RA 8JGc4GBASetir+U1ms6/CIpMhOwQIZyuz4lzo7JszCRV2t5g3GToeULMojR+YrAjznBExb6CVtM YRQTg4s/wVueQYHvDEPMQGWdw3uGy3/UoP7zRhnaEYEPW2DfW8NRfmJ0JLHVq0X3IYcQZ+8E8Ng 9oTaT9MMTtdsVP4FoBIiEDg4tc39lJA3dfuCN773kprzU6KaK+szLwzBubZuTF+tXLkGP1EkZKK q5IXs4n6tGUeUtxL4xRJbS6OxSorTRgIVwJOR+dFzFtfvGsx 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. Acked-by: Daniel Palmer Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 16:45:13 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 48FA24949F6 for ; Wed, 15 Jul 2026 16:56:18 +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=1784134579; cv=none; b=DPSpJcVkcE/ngf2RX/bIV6oU0cJ278ADdLStKZqWrDW8HOMsLOGoNuFKCfCpHUtW1XLrj0Ozgpu7kDSO05R2HQjoplCZFeybpMqLthOtNS0LVO/VyEPuRSoLA0LXqUprp8o1ECK6Y/tFiYpTvt1kqnH21T1wX96/fOVhzZIBBrQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134579; c=relaxed/simple; bh=bkwlINiazla+tZRSHtoxnsVLP20L2oXwibDxhkxj7js=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AR9qXCqYUAs7PmaI2xtcfBipj0qRSXdFD3JqTrQlFDR6+1DBHK3Qnx4Ts0YYWRAsOwlp68J+CRU5USHcQazmkz9G29Jwl63+laGoUeQKkEjLTYP5+8Qe33a1TRM/dRHF37iUrn5C/NlRtBvWarXAkx2i7GiIhsBLvBk2jGN5Nco= 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=HFfTNWAV; 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="HFfTNWAV" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-493b966dd74so22915875e9.3 for ; Wed, 15 Jul 2026 09:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134576; x=1784739376; 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=HFfTNWAVcM30czx3m02hWfHgvAdC9Ay1MiQwS/fyYP/2+Tv0nl3iBRYIGQIEZdoBs4 BG4f/+wJbxpR4DiHCtxzkJOAa8WL1WE1j0sTWLuQEI24l/StjTvKzBY5GoE3JR6EYHuP BDdGOV5aS/opgwZWZb6gT3psM9/+RXVc5wGcQWkL/W3eVQaA+dFFYzU8WjsF5cI7/g8F z3IblQWOKRcgbpsxlEFU2NBBx4Eq8O0ORXMspTF1VeH7NuPr0vb7YDSYGFMIO2kAGYCV 8LMASrzu7TyMrnvoCi39uEnCnpxeBkNuaL8PtlJvgqTal1WK430wQOHS2i+WpuLk1SvL fjFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134576; x=1784739376; 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=lgVREVdLyRFpx33bfwYEkUFF14BNr31FT40bXbkTN4KV26jNC6hqZstdK842Y3S39K 0vST4Fj2UOyI5PMv7hLGrZ0+mt5zWe3LRvAIFM8uYYBjSit2I0ZboGAmWjjvH4baM334 9YeIrl8jz4YTO6Ej5RkWQj++2s+2MXeiDOdg8sqOaaampqRRy574NyP6MXoAfj0wqC6w O0nMxNjKi9jSfUib3aXF161sioFyIxpeA3FBmbGtLPpzm4fZkMJBEc7rYh835m0orCmv t5qExdAwcXUtaDBNsGBWr6HxzfOoHtgfM2+cpJB/1Hx76k3qq+VXiX92UoRYhJIhvK2W jbng== X-Forwarded-Encrypted: i=1; AHgh+RpvpAg6Cfmb5hoqf+Lpo5yUuwYWUK/8EQ7Er53PCRbJcWtiUFRcghYCMh5D+LMlljgiiP2WfziOkiVjgLA=@vger.kernel.org X-Gm-Message-State: AOJu0YxTgwjya++IouGZM+2qr5BshTHtDBhtg9AnaO9GJBBwz4KXUSUC TjBBzlm+fkIu1AXPfdBbun26842lfdUIGNkBrjQsQI/RCV6q0oXnuydMmDast8Ag8v0= X-Gm-Gg: AfdE7cnyzfErYoyWAbaEFYqfUAYswJdjKI/eBuuy148JX+ymW+twtM0UKEtZd2iwpfd b+iC55W+nAx9vtb9NLvmxzzoCRqC9UoYJwTlywkd7T9h/Y2iWsX8fEbMsRsmF+QwxUzYzy2Wr2a gr+vdRW8lk3SrXqzcupEa96bBG90YErQWEJwg1GWnpprX9tyh2iZ0t9HKVjjiMGqj2K3BMIc9IJ W6lGkdwAXPVizV9tN6N7ZdYnxKMl8XEwiKKFEi6kbhHnXZfbWzaM55Dw4Oues5iJ+c3d3FSxwUe J+RYkKoaXrQel6+gmVEu4LCHS9I36mV3QVtZs5vJvXEddqP5SksBuviMspsb8t/ulY/XjV6lbUo PgfMy4GcI8xOOgeiEY1NNbuegbtyvCv3p099TRDYoqmJL22WsMO4MO0kiwNjYhG65OiZJW1X2t/ ncyOKFNJFcqPtzIIi75bviQiA5lXqFf7lnQMtKo9R2xYlv/+PKWNUmyHXS2FSlanbaFOmbgjI4/ lc60Z28TxVGqA== X-Received: by 2002:a05:600c:530c:b0:492:3da4:81ef with SMTP id 5b1f17b1804b1-4953c830f66mr38636005e9.18.1784134576362; Wed, 15 Jul 2026 09:56:16 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634e0e4sm18987290f8f.4.2026.07.15.09.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:15 -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 v2 10/21] gpio: pxa: Add missing platform module annotations Date: Wed, 15 Jul 2026 18:55:15 +0200 Message-ID: <6ed0564789ca797493334e295e9b719e0aaaced3.1784133987.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+1h9Ev5OAcsmYgBqV7uCfbVfdlQ5r0zs0kre524NEm2S5UK0eWJqn Pnclzpjq0CJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7ggAKCRCPgPtYfRL+ TsicCAC3UUWHqhLJMKnrxTj9BXf9AvCClJyo+mVLp8z4bvTsCWSjR9+oMfBbssEfopG0bej2zMk y4ELMYlCIGylUtn7h8dgyPUlIM3H1hCQyUZA0L7VPeYqeg0TbB3FmqbNFGnRUK74YiwFs62VZqu lISsR8VOoqoSU1wqRFKo+/q8sL79S0pxNYxRCyn1dUAvsOeXzI2eBESw7vRciQnWSu5PWuGYAII OtkrB67k5UezyHlqL1Vs90NAF/UclcHI63A/ElHYIkP2kQe2tMywz/Q59SXaW1VUcAS/39Yaqhl 4VBAxrmnrDTtV8gwVluLF3t9PiveIa5hB7F2r/xGyt0O2XrE 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 16:45:13 2026 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 359C9481FD9 for ; Wed, 15 Jul 2026 16:56:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134580; cv=none; b=laOiWaSIRPjqu6WMUZ+6N4zTddk5IGVnh9+pSI04BW2UMbzo0GZEdFTzkCDBKY1ZZUDa7IYfGaYDmnvg1IlS3l4Q9kF82AvIO0xdW5v5r2KAnyUfASOXfq6vJdbka8Xcr7hNrXEeP0+qiPASZg683ZFhi+Cv/9omrStfNr1XUeg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134580; c=relaxed/simple; bh=kujYGNt7XvMhEZd6iktrLMCpUgQvKZNVtEThnF4x/hw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XyreFeGxJCcPfp9OXSy+1vdtGXdbPzx8S/0GRisIz4UC5Js78DE5qmXrswJLZ1W5oGD5llGb6Ag51ZCO5muLhR9Spow9caQQrSu9NH/PHWyTFKRhX6f3FxOCfzZmMK0hWiE96N/VrogcpK2Q/ka9l7HFVhOyrz8ZFCiKJTKeVdo= 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=BBovHnIO; arc=none smtp.client-ip=209.85.128.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="BBovHnIO" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-493e497643fso11469555e9.0 for ; Wed, 15 Jul 2026 09:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134577; x=1784739377; 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=BBovHnIOaYyMZqArXYBpWfQ6421KAGawlmi5615Bbiiqpca9/eWHU0egStwX7aG96t fpRnWlybcn0PcsTlNJS128suxYY8YMAmgGvJuwYde5nFaZxUgvoTt1sSGRiaagOj4G9k 4//3auozMxU0AU6cBonbrTstBqQhW4KVaaBvNzZZzYPO1Hqq51HuPuwMXJUJSloIhVVx RW79bggUHlj3xGNhlSME9+MgHdSyydKszX8Tkpl5530yzeDhAUgFU/5rJmppKEPt1MSa mp1iHFHpGrxxr8s8RTKN/Bp5P0dDPOHQrfw2zIR6zpEjGmZzo7xFy9fn9LZ7C8Flbo9n RB2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134577; x=1784739377; 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=A1uFDR4FuFxXdrN176Gf+GhYHgND84pEuCUlMrnAflkaPfV3CStELYG5AR1D9Zru4n OmIe6VVObofJn9Qq6/W3gwUdV6jvk1GV0NSZTM3apTLnTD5o/noGTUDwswvSQwAk20fH Q7lCQil9NEB0Vq4etwybq0YDnPdXVx3fVaee6JeCamr6CHLcPReA5IDlaH0FiL6lvPpI UTzj0gOcWwmln2gMnFjAFcoFufNY7TAIXRCH1O2qWLFtvGFAfUxJFS4VaeBy85W3fatl QZNprwF1GmSC5Dz7Cp4dD/WWpbzDNrdJZmdohETjuBTxQZ4zRv3Y8b9waOyCfpKJKRd9 bJfg== X-Forwarded-Encrypted: i=1; AHgh+RrRhn6cN/wFOKOCP1IL5OUQdrt5cLKmuUF0+Fc9MxRKw4bWTO3RCqLTM6RQOZO2ICqTdfxCCIc8iSz4yZg=@vger.kernel.org X-Gm-Message-State: AOJu0YykpY8zCVTc5nXaWRuBfXWCcPLs4OhsLhX8WW7BhegWyQ++Wbm9 ebISlKWAedRDYANkxW11FLni55hq3uGqTpzSBaKCspXvuv8CTreE9s+bBuySFxNvJ4c= X-Gm-Gg: AfdE7clH1ppH+neC8kXVtYLTMZrWDEZsIW++U1qIvKcz+PqboM5jiSSbkgry+USwH1X Y0IcxcLuGaROeiyHg4xWGOQLL8JWMXyk9LNsDYb3vrKFSjEjkyGMmfy3uZoKoEXAtTuFbX2OkeK xUnN8qJ/rP3n95GW5wzE6nyebzGu9QcAA7hC2B2NITfrrR4RcE6l1YycOAZrft17G/3ZP5SuF2Y rA6qbKEFJNeS9N4nIuaGXO/cl1xNaCL8ghrfHdRWQ3zn/n1aEGAfvNfWhOEtEUVYUdb6BiyXx8w LPWYk8sinCt/yAmWHy8BB8WLvOAzAmtu8tXgK5f1tz1p7OaW+sR0Atj2pTny/yMqACqcSTnIaFt 6IuoNt/R+AsYoj8EJtoqtoSOPnma8W6lKg9TSyWRihgVzbGwvidfw5Eburgd8jYHwcejR9emH+H MFYZK9ad/7Xbb0Us7/nW0TU7WeyDTmPuPKGT/YdhYi3zQJCXVLNelatVBilrkvaLbOfS6cMaXA0 Jc= X-Received: by 2002:a05:600d:8444:20b0:492:6447:7a7f with SMTP id 5b1f17b1804b1-493f87d8909mr154292995e9.6.1784134577618; Wed, 15 Jul 2026 09:56:17 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a32a2casm236568995e9.12.2026.07.15.09.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56: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 v2 11/21] gpio: pl061: Use empty initializer for amba_id terminator Date: Wed, 15 Jul 2026 18:55:16 +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=904; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=kujYGNt7XvMhEZd6iktrLMCpUgQvKZNVtEThnF4x/hw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uEDHHSR9avEBGs/bseloHrK8b/hr16zw+eA aPhmGcHfPyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7hAAKCRCPgPtYfRL+ TrHJB/9d2NOLim7v1k5NDvaYoYi7ESIBg7tRRfYhrd78cCS3pYYJpk5kKbsYMMgn6EKLOSvmEJK 60vQ5RfVJFlC0LTINB7/zYwp2OrmnrNept/BWRFVSlYa88vOA1N5AWiTlUgyKjvsJXSJGWWgejZ 6Os8OAhFoIMNUBb7riIHXa9sFrJ9IEFZ7/JrbfoAhqOsYLgoVZk1uxgubj1A94gMXOzfH1mYo3w dh0dUqkHPPoNHYIYR8oy18pv+Vn6UwtB5OBXxahNan2bZuUQW+lWvV+awqgYuc/Hn1MTmWmGYgf 46fYQPvfu78Dx+b8Nf+KQDK06s/pIU7GSE7RoW1GulAgf+G0 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 16:45:13 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 D64B349551B for ; Wed, 15 Jul 2026 16:56:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134582; cv=none; b=tzMdlPv4mL9CoqtAYWC8SesytqMbqIPBkbx4ea4+sgYCXj5LuMRU9OmbqZKdnonMl0lcJk4dYYR1+h5JIA7TgOqDgJQWxTKSwlvGn2PZ5kOn6D7n4bk2oahU1T9rU8ZTdOMB5Jq19xLpytKg8qN7vVumyWpnFm7JLSnENcPJxiQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134582; c=relaxed/simple; bh=RLuywGBB1JLiwZZJGzoixG997fODUvjPUuq1y8Z3XtI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JQT3YQJcFZXUzdTbeVCkfAUWeWBr9wUDiXn5Xhq0f3jGX5lOjZnlxqgW09ZnknQzEKYqDwbaaDdDo5YTlVV70YTPiCnfCSGMmSMNyG3FZE+hAWnApF0oB16WM1WlWtOKdYRgGFX4C6QfPfi4iSyNpdzbF1LTKHCqsboeJNgijR0= 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=mpz6mef8; arc=none smtp.client-ip=209.85.128.48 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="mpz6mef8" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-493f140ca8eso34058465e9.1 for ; Wed, 15 Jul 2026 09:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134579; x=1784739379; 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=rTnM189zUntFGaqZlzA686p2JQM6hMb5/yc/NgTCiTM=; b=mpz6mef8Felx3axT/OQ5ZbyEzONnraGm0uUWO75hMTNZzhZxUZDFp/qpPN3GYs1jMe +UyFpqmdPa6elmGyvLVH6rDzDspaeHcQxtrqNB5+4BZslRB5Al1t/VyGl6zGdZ/HgMsN 3ZAiI0DqkUECQ2kv0uI968JJt9AggYcj+VvVoAHWGXma/CCBnKvfUkFfpf8/P0yLtLgj H//XER7FIEg6T05vWSPaDMLrIzjbHwvcozLNCPdSVFW1/0q3kehg2B1bAZ6J0XR55bQ2 BV6ieaO/dnuHLiTe8JeVsGuyGI4siawpBqDg6l5hLvWgOW4nsgb0VatrjUfC2HR5WC/M OJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134579; x=1784739379; 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=rTnM189zUntFGaqZlzA686p2JQM6hMb5/yc/NgTCiTM=; b=E8UWp3pwu+p8Mgf1yiy/cwDmFCVpzLpmja3vFT2Zz/BNRiGfUzH7f9BSQkfaB0b8l3 Z1j7oogNa1ebHLRToUy6Z5GANDJrprZMyKyZyH3/CgXLpFPhC+whJMZp5Y4L5zTFGsjN 66VebGdWASl5D69YXeN3HXUDmOEoVhgEtj5hztKFMsk/tF2N26b6xo9TOoCV9WbvVnBD /OZ2ERUBK/wvpqQicYIFv18mQ8mYzZeOtlBDaFaEUQX4ovPXGGwvYbO4Ih/xQc/w9SqF 5fbhOCEbmaF8r248dZl6g/zyedC7YJHlsKvN2E20+6tZirrTqQu1HkaB5FXXwJKSPb6e JRdA== X-Forwarded-Encrypted: i=1; AHgh+Rp+TYzTzlhjY1L26VjqorPyy+eEdfPW2eXrLVEkWkReI5S8vHQbJtszM/mB6SEgsymEyBJabAnIMU90UHM=@vger.kernel.org X-Gm-Message-State: AOJu0YyJw3WpXhDkUw4mSHXO5bxWbgxjeWwlIThk1HFGruqpq+wFEFBL epGOJhHy6mDE2+7g6uLk6pYxi47gcXV/ANduBbjqzdjG/rGYJlq6lNT0bvaJ7s6w0lQ= X-Gm-Gg: AfdE7ckyXEKacWNJNbrS864gLVIwyrmb1eHX2SW7PHQk+6PPTTPCPc5smOkImtyyuq+ NozNzL2WsKPKrbUlwyC26VyfJtsJORfOqdyYTbqiy5D3453SfKxXxWIIbaPZxpCFspeiXmdfsCW t/lOLTrB/IX48dls1zfdr5ja5SjJcUoJ1bIlCcHKV24smtFuTUBu5nL+LM9DFRlbwM1dsKymGfs fycHzF4/V7LM8as+5+wq7M5wkiBiozdf/79P7ukhukF0/GFj5FG8SetDuZt3L2gtREv4HjZsAbQ aKoAkKkpUz2bYLZ7O75g2vH/YL+hnMmewI/qNIkDfP/Xcx8c6+mfEGj5HrBhrFuJIBIj9KzFzjB wnorll7WK0GRuvO5n7kKSg7Q77mePNUjEYudx4vCFLqNsSttbSYltJhZfgiTZlEFwaGEk3lapaL AVYDKRMueFZzUxQp1WsOMzTb6a01BCRQRLnwGU0BU5e7lrqMcNsYwqwL52jkmHR47dkm/VQ4whZ CkpNXp3PVduMQ== X-Received: by 2002:a05:600c:48aa:b0:493:b243:8ffc with SMTP id 5b1f17b1804b1-49538a18721mr50702945e9.35.1784134579197; Wed, 15 Jul 2026 09:56:19 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4953c599049sm55105735e9.0.2026.07.15.09.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:18 -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 , Alan Borzeszkowski , Mika Westerberg , Hans de Goede , Sakari Ailus , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 12/21] gpio: Use named initializers for acpi_device_id array Date: Wed, 15 Jul 2026 18:55: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=8307; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=RLuywGBB1JLiwZZJGzoixG997fODUvjPUuq1y8Z3XtI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uGgGYFj/C+E4AxTufmoACzyNpf1Wx+3xR0g vpYIN9sZ2uJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7hgAKCRCPgPtYfRL+ TutdB/9Zj7400qU7sJAAyIJ9LbqbhGihC6UokRM5T7EbFm/yNvb3VuKgj/GFibfxeBwDIAUsco0 zafxfqh8TOWbSd70YIP4l7YojQIGCTC/yGtcq9KDkpQOkHJxUMkC10zzlNTUXDwPYtPDY7iLMZy yvNdEarwe3yXapa8yWmTe06T+X+mRPCL91cubUUliynoVdK5/7h5W17AeipQY0/0SqBp7bRB+u5 +j2ket9QN1PY7djMq1dnXVbeSNdlVnpF3Ui/6KjmVRc0tbJWnq1Y38nPUjbiFdeEMXDwuAUF9jL S6+iQ4PyRC2PHKWyKE8RdgXhETKyTFRcT0EAJi0frWB0lxpp 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-pca953x.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 ++-- 13 files changed, 25 insertions(+), 25 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-pca953x.c b/drivers/gpio/gpio-pca953x.c index f6b870b7b352..918cadc2db07 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -180,7 +180,7 @@ static const struct dmi_system_id pca953x_dmi_acpi_irq_= info[] =3D { #endif =20 static const struct acpi_device_id pca953x_acpi_ids[] =3D { - { "INT3491", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, + { .id =3D "INT3491", .driver_data =3D 16 | PCA953X_TYPE | PCA_LATCH_INT }, { } }; MODULE_DEVICE_TABLE(acpi, pca953x_acpi_ids); 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 16:45:13 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 2948048AE35 for ; Wed, 15 Jul 2026 16:56:22 +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=1784134583; cv=none; b=qaXRSsCulm8Yd4Ns5r67VS0OFuNmSAIhiwcPuZ4t6dmdnMtovZk+X91bFGjXP0UPmBiwlWmANJzho/jipxiWvT1l3ol4IAu1IODNNjcDWCQaRTHfUz0i3QJjI52wqj1QyfZHDN16+UDgMTbbFdo4S3jNc3dklrKHatNVJkYLy4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134583; 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=DoIbrU6TXnt7oEtnvQUzgJUQYlJrDsT0TY7b+LANinTtNw3RTTv7nArjgmYpbhUNnnADEZaBLgm+QruTx0uRXNizbBvRxdW1H3NrJRWPH9r11MW/n5BXHlDF0xHamUYHlAvdwwV3/Mh1RyR0xzNQpBlIVIJNcTjqMDcZUl9yGWQ= 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=A0nMwWsY; 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="A0nMwWsY" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4953ddae026so6137295e9.3 for ; Wed, 15 Jul 2026 09:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134580; x=1784739380; 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=A0nMwWsYbbSY+cS46NG5v9QsEG3ONsCHxzU3kbrpPBIpmAthrPrU0vifCW/WCnaYcv /tuxwCQxjJRuk2URWdxS4LxWnBY6VNp7gyaaz7rRy+6D1qA6e4GQZRQaeQSNqXSCSJ0v /pbbSY+tL2DHvvxdHEK5OgNeCAYbNhrKsw0nfRH1cMy7Hlj55LiMV1VlDH69cC82EVqd /invF8SfaD4yK40okcQLrGn0jt8uJqHHmcwOSnCcX+wTeE4l3xB+Jkq8HPY/KRtF6OFI PqjXVw6nyLiLuBvXvePNhpqz95GwgZVFYWyR7i8AcLG84Q02uwzzAx+gta3GsxeZl8w0 l4qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134580; x=1784739380; 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=NBtTRpdzpELCVCgWh0p/N9u5DBclkl+zz5zTZofMXCIm7iny09leJdaNvm/rvmBQG6 SaSQCTCQxskKbj5CgIn6OZwY+53gd4O8ZLGjnsEfPWtATleOCJHtGJNKPo4c2ACnXY1u ORmVUucPtxHgb+qZ4cBoAzQLIvZ9O96tPH0KiK+BMKIKDCVqFm1U9z+xB4/JlHDOQDJz sGQIJj2rxvQz6vk+xu8lgVvvL8+bUj72RcVDxQ7j20rcaxsEATk2WiDioXCZsKjAsF3O jr1IWXeKlUvKvIQLLiOsPRWdqwWcIoQRMn7WbpyJh/vNbpqjXbLyjN1XVkB+8xgruSgY YZwg== X-Forwarded-Encrypted: i=1; AHgh+Rr6RKbpeD6pPI7ce6VrVyRPnuJSrbhYAwEZowy1kVp3nJ+MAiiUB0OTRalrWRstblcio7oWx+wphDPqb/g=@vger.kernel.org X-Gm-Message-State: AOJu0YzJCi6aUymYSbZDVCi1YwwuoU3wZslIKISuDZdjjzKPj4iK8M8v /tLgDPasf3d7Hbs2QJmFNLJODtx+b+JUu+RaryF0aFBoZ1MwZ2zjhugVdorDb5Bt60/8lKiczOs vH8Rn X-Gm-Gg: AfdE7clwNHvutPsx3Yuvh0ppEjDLuvqusGkSBJ05mVLz37gXThwfiGh3M6fKtrONO5T xrrTB9EoaUeRCw8Y/kR4GZl5ms76eVJywcXuQ+pN6Y2tzVZQb9J30nEu6V9TybdFoCbLPdBj95T TQmoMu74i6qH6W6tQLtWM+b+rImG8g9nrJVBxbRsGdfqj5nD3Co1kTpUixqt2XPkS+Yn/p7+bFU MWfzM8eg9SAl3JjLYYt0eOuoVeJIibgUqrQeHjizNFnSO2pipA4Ii00ElOF+Fv5QL6aj9JJanez u2zFB7oo2v6CM0hitXRh2TLXzLv8MPnL3YOlDv61zhPMJad35MDmlEdhPMTwJChtoyz1i/kzxQw 6OfTkUgwepwig17asw1VahOs/yzN8y+tCiDcxQ4D2n/QqUGgDrcc8eftweKuPU4DTxTyntRuUns X3xA1W3kDogHspexbUGRpTjiBklh0CG+0AnhIA248g+FryhhCdHsWdUfGBahYMpwk6963oRjF5I sA= X-Received: by 2002:a05:600c:4e09:b0:493:bc92:2a2f with SMTP id 5b1f17b1804b1-493f87d858emr193903605e9.1.1784134580502; Wed, 15 Jul 2026 09:56:20 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2ed840sm157197805e9.10.2026.07.15.09.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:20 -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 v2 13/21] gpio: Use named initializers for spi_device_id array Date: Wed, 15 Jul 2026 18:55: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=2944; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=sgUY0S/Wf6RKVdL/O7MaAprFuyCblfcodNo+HtW7MRQ=; b=owEBbAGT/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uJLCqQB3aMjxplFwN5ltUUkA29tNMB7MBLc Nyo1crF4BGJATIEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7iQAKCRCPgPtYfRL+ TjLdB/jGxu8JXc7v1Ni124jZRMJjK6JegW3EP5uUQG81qbiWHuQFoi4sillCJnPQtAswTBnF+2Y YrkiYgeVDsBM+s0i40sPCaoTXO5eGsD29fWQk+h4v0DF4w3MabkdlqgT0TruxmfuygFlM9InOEL 2Ex1lVXjCXs5oSrytAdOutAbiqdL1Zdj1ZrsL3ErIKtd2HkI4LvY22mSDHJwP1VGcSIed3gABmP doyo0MINyUMMwqPmDDhbnA36v4D+xIlmgm9v781XWNUmluDxzhNopwrOyPvEqc2tmDfwgk3TSND 7edgbWHlQ39OA7s43EArKjIuhACHTxyMog+oCVoFjKMyrjc= 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 16:45:13 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 568C44968E6 for ; Wed, 15 Jul 2026 16:56:23 +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=1784134584; cv=none; b=VKrkSmA18ZjpeUxz2bnpyan3aBA4m7zhJ5xeplFHt9XXuLrNV4zRRHGa/cdq716HTeuzTyv1Y5/l24+ULFkc2kjmax7B3xve25nDypwf+e91tUwSQIbahMuvKcattVnfT9zjOevTpQ7ToJ/SRCLIhMEqmW/c5yq5KTVpoJTOECA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134584; c=relaxed/simple; bh=Cw+XLdNgXnftxuPSTDZj+51wyZZdxeif8BUFQO4Z1wM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YbaKg34XU2BMNNMM438/lf6aMuNGvONnXMO4Hj6dLjq4pJPnDv6UNtUm7lILhoaRSiPWWas4cjvebi1mwOBbCM1RfN/eRu9DkkN7SSUci54jMU3dgn6u7ijaBSulSONkcDuDEZzg+a68PifKbxMO8nw4l+a49Wt7uA1B1bAd1vY= 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=Ri5TuQtf; 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="Ri5TuQtf" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-493b1710405so31248595e9.2 for ; Wed, 15 Jul 2026 09:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134581; x=1784739381; 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=AO+MjM/BEQ0toQ97krU14h4AjetrPnZmMJGlqWBpdjs=; b=Ri5TuQtf1nBTpESqyUPNu9+eYn2urfPq0eSAr/q5XHrRUYH3jbv9/G2S7XYBNdcGsV S0fmt6CGVFAnFg5KoMGy5pZKTHuGn1iIqbwtpVxFs8eSY5Y8VIThYBHPKDC9fHSlMWfB 2r4KU/IrELlaeXw2WqFJJuT9TfXsm2ZxOGfQiP89zdsmrvPbPbO5clzgsYZqbR+dQeCd YsmncCS4jn0UjV7sq3t2e3zGK+fl1lmGrEIueFmufC/H62Y8KnTADnb953wxWuJ00g0b cN0ACjljRhoAFOJSHYNaX1+/h57K1jcYqwdN+Mqc6bIOF2wSgmY+nVmDn3SCAgivvdM3 nKHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134581; x=1784739381; 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=AO+MjM/BEQ0toQ97krU14h4AjetrPnZmMJGlqWBpdjs=; b=PYR7IJuyDaGUwHTRIpJU6cdbg2rH+XtEda958EKROHuSlwNcDHHjxkfrmN/c3w37PG FetyvIoXH4ZurS9lvVKKMFJ5kV8ZAIvcH53Xe3DyBvnh8nhI4nOw7fHdqFnVck4bZbon jcN2Pb5jxtFQPY3KwGK8iLzc4L2br5eFDoyLs+mtsbhDyds/iK+GXDfK3iD0045BakMp JSW3CqFltC9CUScETc0AQ8dm6xkIq36XJGZPu+8WesB1xCEGHauyttbfxmLiIrP7AJsG DCxicB+44WJtuW7T5ODWqErpCyvqDera5SgFotNj8gSbJ87agXyHpIVsmyaNTAJ0oV96 Md2A== X-Forwarded-Encrypted: i=1; AHgh+RoC31b0BSCzN0kMpUzQ0z/Wz3PhXj1h3x+eQ54mlkZ5/6RYyL29h/R7UgjvO0SVCdEkiafktAUfE8wOa1U=@vger.kernel.org X-Gm-Message-State: AOJu0YwG7/vnwVa3+Z/BvGgLbAkc6/pbpPHyAls+fz/cxt27viuYoqK7 LcAaWjRMul+eTSJGth2BwOnt7U9HEVSqVWUn0PJ1rCaXBbMpcuOAW9jw7YHqRmcApdk= X-Gm-Gg: AfdE7cnKgRGrm5Kv7SoF8b4Jpgj71Ln3iRDKObt9jyP4Ma/IpqICoFVc0mCFI6x+Q5z GMBRmgdPgzM+L5d3QwXV4K4s2aUnktRsUmsdgRjpul1wx0o2fC687HXiLecVwzqI0BDxq81w11P VhcjhYY5dp64SEGi6heLVZnYUkHP4jALy0M68yUzVyZxLPJV79b4RRLlsnhDLBZH+ofxubybBSK IjYuf5F4sWPITU2Yk1orvH7GuuH/uVODhViaDwZGHQZ8zirBYq0/hUgJQYDmLEJe35gMjeuEISe Ws5ESghSwhQ5MJJcjyjibqXbQbPkzm3MF5HOnblZhrRpbxSmS970dY5d5iPZ5J1NXdnN6uUngo6 z/GRviu1wYdNCB2UthzhGxXARTO/d+GNbZKo9S0TVgmsDGTTzOONJxvM4o/UsoM5sqRhLmsNUVE tE2gC2SWieA3kUeS2QJogc8u9yckeLXJlcOSxxyJuKFHyLEIaNeicHx5AHavR4e2YgnrE2Zdh4N 8MNILU6YbwIgA== X-Received: by 2002:a05:600c:4f0d:b0:493:e4cd:def1 with SMTP id 5b1f17b1804b1-495158d11f7mr114531535e9.11.1784134581664; Wed, 15 Jul 2026 09:56:21 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2f951asm170203015e9.14.2026.07.15.09.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:21 -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, Viresh Kumar Subject: [PATCH v2 14/21] gpio: virtio: Use a named initializer for virtio_device_id array Date: Wed, 15 Jul 2026 18:55:19 +0200 Message-ID: <5de4e961aa6934a020cd8291946b3652056a04b2.1784133987.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=1091; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=Cw+XLdNgXnftxuPSTDZj+51wyZZdxeif8BUFQO4Z1wM=; b=kA0DAAoBj4D7WH0S/k4ByyZiAGpXu4ug2Bw2yP055b202QWIbcCgQNl47qULDUKFxd260P5L9 IkBMwQAAQoAHRYhBD+BrGk6eh5Zia3+04+A+1h9Ev5OBQJqV7uLAAoJEI+A+1h9Ev5O0foIAKhT Utmm4r51n5Je7u+xT81r/SSwogmC+SvxQ2HmDykCYAeVrAlXPTxatZT+/dE7vB3qFp2fk66rAcs XzStO8hgAI6e+gQODI40dkCvE9iTqS3xv7YbWT84LPFCzZvVe86ia0+ttLXtHJgB1HQENFJ+CLO KZQ7qbDXWBhw7pod/A0efCglGZUL2xTdh6UwpFUzCDeM2qZkjv8c5BuvopnR1yf9f7PBj0RUEFB b4nBZoKnNIfvDgSzvQtfdHM+V1AxEyJR1mtYVwQfGPRSacnBP8KvWxVOWqbpfeHZzK5pJKWXAeJ E/0HnupDtVLuN5tXUAEAEQsjZLDTwt6ycNIwm+I= 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. Acked-by: Viresh Kumar Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 16:45:13 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 9296A47F2E7 for ; Wed, 15 Jul 2026 16:56:24 +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=1784134587; cv=none; b=LP6dwbQfuAJg3E22T+gbE78wId6CNWMzrvIpc/hKdN/U7Q2Uy6sOd8OYIhoCXP5prdbnJvh4azivriPw2XmeKGjiVnffPkM7rjYm863zVF/CTYw7+t/w09aVGdzUH0omEbgvM8IKjLjUkgBp6ae38ELA/ZqLQ/aT4deaXMMmKcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134587; c=relaxed/simple; bh=pjHW7pyDQ4JEIlbUWB07hiJX/g0Y55VniXF+f73xk6U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ODtwWPnBCtxVaX1DU6zZ6sbAjD1egTbEknDC2BpRB5Z3SioLC/NIMd6CYEmgzh1GWG2pMLXLAuVfHi/nzl8XykIRL5rO08jAWbCtqjG64ETHXU2yrPak57xoktkoOr+dH35fPaLYXmUQvJMEmoLYVp+9x2ZAtRBkX391IT2OPUI= 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=dM8i/dhC; 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="dM8i/dhC" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-493ba701891so19163265e9.3 for ; Wed, 15 Jul 2026 09:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134583; x=1784739383; 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=dM8i/dhCQkP/U9h1Su9SqZkKI5cbg4ohcj5AsFGJOwhPYIs+l20BI3/qcyJ7r+ROEq YLHUnF9PYUTsA0M7U+bKTXlHB3JJt3K45wLARr/2R+1QGeWND/6dnlC3GBew/v8H50H2 i2sGruWo1s8T9QW61k2T1CKwsyelC+fDNR8lnpIVix0O/4r0IuKBcs7U+f/aaLBCJpeV 2WeQZKVcNLONBs4QqUKtd6KwUEIgOpOGzb9EG+XqeDiWWCLGUyuBX3Nr3JcCb1cXcHam qyvW9e/wRyRacJB1l0z8Iwvk6lUo+9mW0clcTCkaiU9smhwAJ8/558PmujNTdPntHZ2f UisQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134583; x=1784739383; 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=aS7kwrw2ROePF4M9fim/dULT7AWD+Patf+C8q6Yg0vcnvQt6ro/F5nx16jtsDE+moG 289ZSFIcRD4CHdwHNhhOEm7QUXKlTPxnMFK8ekBfh9MOxccbY4lMe4C8Sw3t9ccN0QDG 7+YfUOhKYx73F37VUVDXirauUx/ZJqKQPRxKRMRBeXeg5pGiwlTce657QL4pQvAyh5/E 3wJLu/tLyMjze+hEawpMuncH9JEAkFqP4PGJLqSKOmX/OGA2l0zF//D5xKz6ZN/XprV1 +nLFIpBHLE05KrH6YTbKr8BrpCM5yvvDjAe8E6OXrD9o/hDHpl34tVPJGtTXt//7IMbc 5jLA== X-Forwarded-Encrypted: i=1; AHgh+Rpm3tc0zeHVy2xsDOsPgtVRd89c9gfh3c42Lt+lbNEPdYQNQh+zxEwcRFjXqpiAtbYbLBEYg8WvVhDCNgI=@vger.kernel.org X-Gm-Message-State: AOJu0YyXjswiDB1oFMj6BvJr9Oab919RJkAF+Emh024IMgr3gHfKPiGz FJw9SMORfHrEvvHZiGaWFSWVT8E1iPhGDh43NG3q5na2VD/rYCBGi5TSxLDLg1br0/0= X-Gm-Gg: AfdE7cndoCcaUy6B9OWPRRBl2oiw5sumR9M8fRT4F0fissxmO5coiDd7dB3N4sDYrMw mYhiQGp3TM3XzIU4E3jU4zDcUdM3C44h+PMvg/mJp1Ch8bbClU1kXD2dJox6a15iZ/IZqu3kNYA iQUcNlLoZhGqiuHTf/vkOI61MJsEGE0UbBO7Nq94ShHzHUprD49rjReqAns43asXnIjs3FgX7wo q00Hhw4fKCl9rxHOi5pYv17EK/keLv51/0Rq5Dil0GU1xED4yNvaIDqkiD7g5DVy613/KKG+4tT B9w01RC7bs7+XzzwPTLAvVHajLOtGsOkDvZDRLA01y2YSj7PUXz9OLwzmydqdKzG7PMT89trVl6 nDyqUw8l/n3Mz/CYE+Iqbfv8nlHNBJ0oOrJ6g7v44sOe4gDQ+8bgLPfr6JiKIwWRKhz8behsDgO 8PavLp5DTb8QqFHJ4N00wV2tOEP77yssGOHp7JVfuI7jXqH9XdIPH3t9oVHy8S9PVVHItWxEVYU tYDG3YO+aZGEw== X-Received: by 2002:a05:600c:3e88:b0:493:915b:dc4a with SMTP id 5b1f17b1804b1-493f87d8a97mr178125435e9.8.1784134582848; Wed, 15 Jul 2026 09:56:22 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2edd6fsm160244985e9.11.2026.07.15.09.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:22 -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 v2 15/21] gpio: pcf857x: Use named initializers for of_device_id array Date: Wed, 15 Jul 2026 18:55:20 +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=2484; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=pjHW7pyDQ4JEIlbUWB07hiJX/g0Y55VniXF+f73xk6U=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uNCGLaNfMHxVjsXAHqhHFpKqMyKUGJtZbZl h1KMYgdVr2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7jQAKCRCPgPtYfRL+ TjXfB/9r8Tmxw+lWDXdtUH84Zp7HKdFXLMoSMN2iovBEWX29M2VUR2ns7ZxkikGpZWz8Tibzk3m cRGO7VsfIt7rtETlqRJ/aDro9k0ng7grUov2mUibOeiPx/mD8h78Z5X6f64pQRYSXK5dnGYQFMp 09lq6ZjBi+4idy1gB//arTVIK9JOVbY0ZtBJ9IabPrGrtx5WStzQS9qud/0E5UV+9YpvIKgqu6p SR6EomXawDD2+IL9dvT0MCPA4ZxeFTDzJTDvY8EbAc58wpaXdJlQqsSNBw1Ebqa3KruZpgwE3cV XmI8F4V0/P1tAxHIT8thetXlVBy6a7HkMvi4+gNadIJKJCiR 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 16:45:13 2026 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 10C9A48B385 for ; Wed, 15 Jul 2026 16:56:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134587; cv=none; b=ulT9mFdlnyXG+VC+FatbleIKkd0ihGWjzWug968ADflt9RONCebZ2Gynm2py3eio6Zayqyh26zFIAjnw4okDinY6k0G9b8Zzxt7DphF4bZClIapM191PRqZ+YAgVqOl8kdNDoBT6UbHITCnPvQ/CZVZgoOEDB8FLvLhHoxRMCzs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134587; c=relaxed/simple; bh=ee2QR/gfIYc+jCRim2ICgGnPXqWUDDOWkJvK3rxG850=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HNV4uyVqQ9pPlGoDWSADt0cZDUiSPlnhDuJTKIS3+MgVovbT9jS+PlGo0lbNWrdwznbV/rZAQEPo8nlnKVSljQxaF8dbBUx9ovaXKY12H56T70BHWlUD/9aZWdEJ7EvRF/oetGncgmXNER3U4yneyHu2f5gcvU06NfoxndHwN5E= 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=VfbtYthQ; arc=none smtp.client-ip=209.85.221.45 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="VfbtYthQ" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-47defd0c1c5so1853995f8f.3 for ; Wed, 15 Jul 2026 09:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134584; x=1784739384; 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=jvItI+zIlZhuklLP+22VHIj0wsTksyFjBvsxZyBT7dM=; b=VfbtYthQzENSzxxiyeQOumQjpLhZT8zTKeGS2FjxEEY9XYkcNyK8BQmxKqAtw5xpq3 KNDLYSQ7B0sPgsotuwXLypvG6/9R+zN41bghq+ye8wsPCA4xYLq0fhik9djTsY923v6X MVzhgu73iLyh5tnxgJi46bA7mK9ImnkhYJRHjOD4iCY4PYpCL/tvGnx7Mm7K0NUqly4q RyrsyZtX4c4t9L5Jybc5S4/uBw8g7hAH+XpLWSFupVgo4RAzqsSNUkPe9QB3kEEQ08zv kwiP6pW7QvwE86UR7F0FHB/m/9SEm3B0wGQxge8rMY0Of++ESt1zOJFyBP1jRG3ixhNO 2LWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134584; x=1784739384; 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=jvItI+zIlZhuklLP+22VHIj0wsTksyFjBvsxZyBT7dM=; b=mKDjJpk2FwZp/JHgsET3Ir7xkhcnBdyBTUcyLrIfJI7D1nTw8a8G1FjkNNT+PPQUpv 3fd6sBN3LGPrEsmQG39sf1TP9dp9kYRjTFMWmcwqMhtmWiQNJsuCcnghR+jEgwmF+mXt AiUrMiLRH4hQ/liSRekj/h6ihHWXu+b9PbFMVVETsdOxlHdPjxR76DY3oJWwPQz7G6yd vGPKpy0+78FjzfOs4FM6AeD60iQywT5BPph6/UUgj5vb9P2nq02TAgGsepKUEp2/Xn1G IEeXm2ttFNaPLxPKpRhvVUJbSsPWPZmS9YZvmLgMVmsstWkshZ3Kq7KtxrH8viO46Clb geFg== X-Forwarded-Encrypted: i=1; AHgh+RpZh1pUz4KdZIo8h5UIP+VgWNHMXNXcJC6M8nFPPS1nyqx3UunS6cZAO3zDD9xpixBc3qkeIH14ZnEaBDs=@vger.kernel.org X-Gm-Message-State: AOJu0Yxj/MLTeKPAzei227huMKDYwejDSUEMNMyZImeypbdcn0+1cmXU b/hQHafkRu/IfXNRGqnqwv7DU3XG8L9XSpIJc05YwGWJqkG7eEIDYVcBPK3nq6yAMh4= X-Gm-Gg: AfdE7ckENk7/EAFSZTbRvslJOU5dg00Uw4ZVMVKeeELYTnXcojpnaGebVcuhvRZ+y7i Xt69XvAAxMAtn5Q4BQVonhTegNtKP6AKZKVgwdbklxJ98IjahnRcRUTNo1x1VjMAiTHFbdtuVSb ee59m4O+CJmapkqThr1131V+4upTbVztCIbpCH5ThOx0yihctz0jjaYixizefcum6mMTrdI+iNp UxbutVQJFrw4lhXaBV8sC1VXnId1GA1kbqB9ImM9j3I5fZmkSo+A4s3W/xCYIIccNGfk2h6qnfd dQJCq1MIC4i3u5dCp0xlZQmPLp2Zm+LRL/mQAh7kDBxead49QjD/+2TgMWa+xIBKqovxItOvHdy hXbP9Y+qdkygjg4cx80uwTAPBZksb2iHDReT646/9HKtHPvyYxU3xnq4bX8FClvJVmUV3iWsPj8 mELYG/xo3i3fGG2mM8cQWGcQ+gCz4r2UyrFhf3h6Rmcv9t14rgSAf13Gmfmlfc+POsI/nu7fGYY h4= X-Received: by 2002:a05:6000:2004:b0:45e:73eb:5119 with SMTP id ffacd0b85a97d-47f2dc9bf61mr21111665f8f.22.1784134584294; Wed, 15 Jul 2026 09:56:24 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f47688f29sm15585803f8f.21.2026.07.15.09.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:23 -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 , 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, Andy Shevchenko Subject: [PATCH v2 16/21] gpio: Unify style of acpi_device_id arrays Date: Wed, 15 Jul 2026 18:55:21 +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=7506; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=ee2QR/gfIYc+jCRim2ICgGnPXqWUDDOWkJvK3rxG850=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uQeZws1R4kgXuCG2n8bKgzFrmylax7rB1YM ibf41Pns7+JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7kAAKCRCPgPtYfRL+ TsjCCACbaVuLtt4TRZY2eu/1Hp4eAyCbnlI1lTQC1dgr2I+C8aA2sm7K1//Y7jpvHVKnUTb3esK th6kMP9ZME6XrQQaHAbW70NefF2QiXac9+5YBQoG7t53s4fM+tTqwBBsjpZDaWkROdjQaFMcUmE bxRvz0d/0pLKCRBOvd64SeoNPtGdtjtzynut0HdGPPSSdJO766TV/6kvXjuzP4FT5mZzAAP+ETz guZ7yYjrY3YD82hiwh6bBdSQe9By1uiss0MdTuEPTgF8H29vCSKmhl6EIjoON8spBzcCiaP0sAY XXyD5IqkIVXDsjrLfZz76JsoAhL9hVZwfuO05Q+2pg6uJ7c/ 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. Additionally sort the entries by .id. Reviewed-by: Andy Shevchenko Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- drivers/gpio/gpio-amdpt.c | 2 +- drivers/gpio/gpio-dwapb.c | 2 +- drivers/gpio/gpio-graniterapids.c | 2 +- drivers/gpio/gpio-hisi.c | 2 +- drivers/gpio/gpio-loongson-64bit.c | 2 +- drivers/gpio/gpio-mlxbf.c | 2 +- drivers/gpio/gpio-mlxbf2.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 +- 13 files changed, 13 insertions(+), 13 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-dwapb.c b/drivers/gpio/gpio-dwapb.c index e159c3f98f1c..3b24daabcf0f 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c @@ -720,10 +720,10 @@ 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 { - { .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 "HISI0181", .driver_data =3D GPIO_REG_OFFSET_V1 }, { .id =3D "LECA0001", .driver_data =3D GPIO_REG_OFFSET_V1 }, { } }; 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-mlxbf.c b/drivers/gpio/gpio-mlxbf.c index b2a7a41f1437..3fbb65200c55 100644 --- a/drivers/gpio/gpio-mlxbf.c +++ b/drivers/gpio/gpio-mlxbf.c @@ -134,7 +134,7 @@ static int mlxbf_gpio_resume(struct platform_device *pd= ev) =20 static const struct acpi_device_id mlxbf_gpio_acpi_match[] =3D { { "MLNXBF02" }, - {} + { } }; MODULE_DEVICE_TABLE(acpi, mlxbf_gpio_acpi_match); =20 diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c index ecb0feb9b73f..dd4cac6d96da 100644 --- a/drivers/gpio/gpio-mlxbf2.c +++ b/drivers/gpio/gpio-mlxbf2.c @@ -450,7 +450,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(mlxbf2_pm_ops, mlxbf2_g= pio_suspend, mlxbf2_gpio_ =20 static const struct acpi_device_id mlxbf2_gpio_acpi_match[] =3D { { "MLNXBF22" }, - {}, + { } }; MODULE_DEVICE_TABLE(acpi, mlxbf2_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 16:45:13 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 D61614ADD80 for ; Wed, 15 Jul 2026 16:56:27 +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=1784134592; cv=none; b=MwWnQ5sqeXuNLdELNzHF3iVbF1E3GbRgJGrE6uBSzlUGmRdeMdbb58xGSA7VqBkjaURRUOEuuyoxboqM+SdoKDMu+9FR305nOgoq48vskHN0B1jnYLizGSMhf0GKSvGiEmzvxwMrlvqw2yBbJtx/SLNIUUhAaGp6WFRSqtvzDe8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134592; c=relaxed/simple; bh=xucnVvol6gpGsPxEPQiLKCCqdAIbaGjKJVz7WV5LDeA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=isUnW9fqVD0moblcFiGn0ZjMNRaDYT6RWKF28enNhDXB+aj0NfE9Msy3xzO0eSjdFNn1QtUnzSDGhbQ35j0S4ZvAcf9PjH3B0ovOsq2GpnZ2k/oRXxdX7OT8WePzE90TBJoP9F98cWAshMEqJSZD+1hX24vPq50r7rNBsRoHkV4= 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=nDK52Rnd; 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="nDK52Rnd" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493d92b7db3so18151965e9.2 for ; Wed, 15 Jul 2026 09:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134586; x=1784739386; 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=7RTJDdiXIQ5M1uEoovJuJGPnBlR0dy97HHp6n5zuPjU=; b=nDK52RndZidi0bmJjegXxBGuaR3YsRS/MDaoRXiqJLAWmIOlMoa6JuoT0FsLzZoQoj g8gvXsIv4s3rEB6UmhvA1VFA2Y/JdzH/RbNf3Q4wXN8qCxnNK5idzNZjRByJO6shoo77 zS1QoGuIufuHa2MadgppX3QzEZw4BEWkSnGemCUj4NUDCHBtFfoXKZsIMRJCuWILeCML A9Pa/pGYO9FqS+q5ow2hE49kbi4LHiYzyVK6ZxFQ0mHCv7aLlGTeLfbZlXBW89K0A13f 6N+LuFFIgjhPx1gL46+a4Bk6tlKCkKOGFbg2ETShvElyrvjrRDbQkYZPCVPyl6RrLQgG nuCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134586; x=1784739386; 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=7RTJDdiXIQ5M1uEoovJuJGPnBlR0dy97HHp6n5zuPjU=; b=NSFvyLoPQ5qcUHMOhxE778PefSrJSfxKVdJE1UMdL+3/i9Lc6lzfXKrnQay8bIEW8h i+5xJTO+txlh5YHZiZGhqAbtdJvOCO8y1HvOOhfRZZlHbfNyEE+U2kkcv5UU4la4jyBj 864h+Pm30RG/GRWwrVjPsDeYmau2UeR/nazXm7ppNU7hOSqNyf8mToUEgbCC0kQoG/rA OoLxWU5gzngOJzPYz2/W6QTqe34iyEsWgwt7BNVQ3aPMcAu5KfL95ryKq3b1bzpnyP70 vwc0ig1TpBToj58xQcYhv0XUfIAslq+iHe9jz2h1Zhb5rij3IseqfydYldDtdlSx1fzL m2EA== X-Forwarded-Encrypted: i=1; AHgh+RqoN0C76bswjRML2SjmsYToCwQALnA6DAIe9YMDLc40y+j653xcnuN5Z9w3b8WX3ndRw4LYomvnRbLdgSU=@vger.kernel.org X-Gm-Message-State: AOJu0YwcdgpkffQJw4utyxslu1ROjQ8MLJf++T8y8oQojedEzlIBwX/4 Re43iVD4sx9SuDpEioY4ccFF2dXffb41zDaU2WNkU9iQNPB1NWOjwchlyJIZGu0Bbtc= X-Gm-Gg: AfdE7cmxM0cdXSha43TIPDY6lhmIsQrqTmQ5oN4bIu1QxdK1/zzAfKrkMORG88vQlSP eiDpESZAU9XXiiQmwSkJDGieYBV2M4IDExS4EmcXQfgWn/3DD5pzC2B33x9/waC2yoSLU1JGvz7 DZbcSENqa+F8f7nP1AgjI1FJX2IuSnrGvdUmtbF3vs+ntvmJAcknHGwaf50ezjMpTo9tDoj9J0a bc5f1O98XC6JSn8v17oFMMB3bKe/xC84Mp5gzo8iU9KZ69YRTPc2cGafIdDS3hGCvy6tz3EQee+ gSOfOUAtubZiZWL+HekVvqJgXZeNFKfa5hSfbqm9y/VoqXwk6H8s6jY/ArBXA8tghy9zjIgvlN6 516qbA5TjSSGgIluURKoSRzDWBPN4TeUnvsJbCl/xUp9J9zkEr3B9Vke4gZBO4+KUloSkYQQ/C9 zxEOiXQKDPl8w6tenObVtmzTEfbKH7Y8ljTAM4jWG1wK2oFo5ZBvF5WNpG5bnAk/HK9dj4ojdR3 dA= X-Received: by 2002:a05:600c:e557:20b0:493:f822:ac5e with SMTP id 5b1f17b1804b1-493f8818052mr143858625e9.23.1784134585882; Wed, 15 Jul 2026 09:56:25 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4950a2f635dsm171335915e9.12.2026.07.15.09.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:25 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Linus Walleij , Bartosz Golaszewski Cc: Geert Uytterhoeven , 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 , 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 , Santosh Shilimkar , Kevin Hilman , Orson Zhai , Baolin Wang , Chunyan Zhang , Robert Jarzmik , Magnus Damm , 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 , 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-renesas-soc@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 Subject: [PATCH v2 17/21] gpio: Unify style of of_device_id arrays Date: Wed, 15 Jul 2026 18:55:22 +0200 Message-ID: <956ece832d6e9665aad29232ca440ecde39e3cda.1784133987.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=46735; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=xucnVvol6gpGsPxEPQiLKCCqdAIbaGjKJVz7WV5LDeA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uSQ0h8peqhbHmdPDnfzztJn1O771gEgzZe0 4N6VG75/PuJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7kgAKCRCPgPtYfRL+ TkTIB/4h9A7vsJqeuNbBnXfNzq3XMzhHJsvyZKXcyXgvf+IwE663ZfxVY27hijGf7SIvQI4tCVt VISQ9dtIgXB3Wq3K3qZIGUd7UzdlQDP956CEVXhNa5vFqgn9OVv3JDeu5pYxwXIMtmfPewOmDe8 lRkJhgli+vs0DsObdVhk7C9bBp4mlrwe9I5FkMrSd5Ncyls/xVVRRTfmUXk9/oyGc+bKMpYPKUR nJMn0dnZkPI+KDjYYsVg7AsGL95vm4tJ7yglpglby+08snt81TUvAxOqtqomdC6fgl1dalhdVEL 9iEB7FGRc5kpDF7EWWJEwLS3Gkac7nLC0eDbH0xyDLs3GMFh 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 | 4 ++-- drivers/gpio/gpio-brcmstb.c | 2 +- drivers/gpio/gpio-cadence.c | 6 +++--- drivers/gpio/gpio-creg-snps.c | 4 ++-- drivers/gpio/gpio-davinci.c | 8 ++++---- 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 | 8 ++++---- drivers/gpio/gpio-mpc8xxx.c | 22 +++++++++++----------- drivers/gpio/gpio-mt7621.c | 2 +- drivers/gpio/gpio-mvebu.c | 12 ++++++------ 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-rcar.c | 2 +- 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 | 6 +++--- drivers/gpio/gpio-tegra186.c | 24 ++++++++++++------------ drivers/gpio/gpio-tps65218.c | 2 +- drivers/gpio/gpio-ts4800.c | 4 ++-- drivers/gpio/gpio-ts4900.c | 2 +- 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 | 4 ++-- drivers/gpio/gpio-xra1403.c | 2 +- drivers/gpio/gpio-zevio.c | 4 ++-- drivers/gpio/gpio-zynqmp-modepin.c | 2 +- 73 files changed, 156 insertions(+), 157 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..b8d07a9b4a68 100644 --- a/drivers/gpio/gpio-blzp1600.c +++ b/drivers/gpio/gpio-blzp1600.c @@ -270,8 +270,8 @@ 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", }, - { /* Sentinel */ }, + { .compatible =3D "blaize,blzp1600-gpio" }, + { /* Sentinel */ } }; MODULE_DEVICE_TABLE(of, blzp1600_gpio_of_match); =20 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..a71747cef51c 100644 --- a/drivers/gpio/gpio-cadence.c +++ b/drivers/gpio/gpio-cadence.c @@ -170,13 +170,13 @@ 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 */ }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, cdns_of_ids); =20 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..736c51592beb 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -668,10 +668,10 @@ static DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_o= ps, 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}, - { /* sentinel */ }, + { .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); =20 diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index 3b24daabcf0f..8a5791a4a77e 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..aa5d210882b0 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 @@ -340,8 +340,8 @@ static int mpc52xx_simple_gpiochip_probe(struct platfor= m_device *ofdev) } =20 static const struct of_device_id mpc52xx_simple_gpiochip_match[] =3D { - { .compatible =3D "fsl,mpc5200-gpio", }, - {} + { .compatible =3D "fsl,mpc5200-gpio" }, + { } }; =20 static struct platform_driver mpc52xx_simple_gpiochip_driver =3D { 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-mvebu.c b/drivers/gpio/gpio-mvebu.c index 4d1625be11ec..8f9c9b54d8ae 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c @@ -956,27 +956,27 @@ static void mvebu_gpio_dbg_show(struct seq_file *s, s= truct gpio_chip *chip) static const struct of_device_id mvebu_gpio_of_match[] =3D { { .compatible =3D "marvell,orion-gpio", - .data =3D (void *) MVEBU_GPIO_SOC_VARIANT_ORION, + .data =3D (void *)MVEBU_GPIO_SOC_VARIANT_ORION, }, { .compatible =3D "marvell,mv78200-gpio", - .data =3D (void *) MVEBU_GPIO_SOC_VARIANT_MV78200, + .data =3D (void *)MVEBU_GPIO_SOC_VARIANT_MV78200, }, { .compatible =3D "marvell,armadaxp-gpio", - .data =3D (void *) MVEBU_GPIO_SOC_VARIANT_ARMADAXP, + .data =3D (void *)MVEBU_GPIO_SOC_VARIANT_ARMADAXP, }, { .compatible =3D "marvell,armada-370-gpio", - .data =3D (void *) MVEBU_GPIO_SOC_VARIANT_ORION, + .data =3D (void *)MVEBU_GPIO_SOC_VARIANT_ORION, }, { .compatible =3D "marvell,armada-8k-gpio", - .data =3D (void *) MVEBU_GPIO_SOC_VARIANT_A8K, + .data =3D (void *)MVEBU_GPIO_SOC_VARIANT_A8K, }, { /* sentinel */ - }, + } }; MODULE_DEVICE_TABLE(of, mvebu_gpio_of_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-rcar.c b/drivers/gpio/gpio-rcar.c index 09bebde5c426..c9411b58fb6b 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -443,7 +443,7 @@ static const struct of_device_id gpio_rcar_of_table[] = =3D { .data =3D &gpio_rcar_info_gen1, }, { /* Terminator */ - }, + } }; =20 MODULE_DEVICE_TABLE(of, gpio_rcar_of_table); 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..1fbecb317bed 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -669,8 +669,8 @@ 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", }, - { /* sentinel */ }, + { .compatible =3D "nvidia,tegra210-pmc" }, + { /* sentinel */ } }; =20 static int tegra_gpio_probe(struct platform_device *pdev) @@ -808,7 +808,7 @@ static const struct of_device_id tegra_gpio_of_match[] = =3D { { .compatible =3D "nvidia,tegra210-gpio", .data =3D &tegra210_gpio_config= }, { .compatible =3D "nvidia,tegra30-gpio", .data =3D &tegra30_gpio_config }, { .compatible =3D "nvidia,tegra20-gpio", .data =3D &tegra20_gpio_config }, - { }, + { } }; MODULE_DEVICE_TABLE(of, tegra_gpio_of_match); =20 diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index e94eaf23a5db..f2e52516e97e 100644 --- a/drivers/gpio/gpio-tegra186.c +++ b/drivers/gpio/gpio-tegra186.c @@ -1494,40 +1494,40 @@ static const struct tegra_gpio_soc tegra410_system_= soc =3D { static const struct of_device_id tegra186_gpio_of_match[] =3D { { .compatible =3D "nvidia,tegra186-gpio", - .data =3D &tegra186_main_soc + .data =3D &tegra186_main_soc, }, { .compatible =3D "nvidia,tegra186-gpio-aon", - .data =3D &tegra186_aon_soc + .data =3D &tegra186_aon_soc, }, { .compatible =3D "nvidia,tegra194-gpio", - .data =3D &tegra194_main_soc + .data =3D &tegra194_main_soc, }, { .compatible =3D "nvidia,tegra194-gpio-aon", - .data =3D &tegra194_aon_soc + .data =3D &tegra194_aon_soc, }, { .compatible =3D "nvidia,tegra234-gpio", - .data =3D &tegra234_main_soc + .data =3D &tegra234_main_soc, }, { .compatible =3D "nvidia,tegra234-gpio-aon", - .data =3D &tegra234_aon_soc + .data =3D &tegra234_aon_soc, }, { .compatible =3D "nvidia,tegra238-gpio", - .data =3D &tegra238_main_soc + .data =3D &tegra238_main_soc, }, { .compatible =3D "nvidia,tegra238-gpio-aon", - .data =3D &tegra238_aon_soc + .data =3D &tegra238_aon_soc, }, { .compatible =3D "nvidia,tegra256-gpio", - .data =3D &tegra256_main_soc + .data =3D &tegra256_main_soc, }, { .compatible =3D "nvidia,tegra264-gpio", - .data =3D &tegra264_main_soc + .data =3D &tegra264_main_soc, }, { .compatible =3D "nvidia,tegra264-gpio-aon", - .data =3D &tegra264_aon_soc + .data =3D &tegra264_aon_soc, }, { .compatible =3D "nvidia,tegra264-gpio-uphy", - .data =3D &tegra264_uphy_soc + .data =3D &tegra264_uphy_soc, }, { /* sentinel */ } 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-ts4900.c b/drivers/gpio/gpio-ts4900.c index b46b48e56c56..e7acc4937f26 100644 --- a/drivers/gpio/gpio-ts4900.c +++ b/drivers/gpio/gpio-ts4900.c @@ -132,7 +132,7 @@ static const struct of_device_id ts4900_gpio_of_match_t= able[] =3D { .compatible =3D "technologic,ts7970-gpio", .data =3D (void *)TS7970_GPIO_IN, }, - { /* sentinel */ }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, ts4900_gpio_of_match_table); =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..f716faf20b88 100644 --- a/drivers/gpio/gpio-xilinx.c +++ b/drivers/gpio/gpio-xilinx.c @@ -667,8 +667,8 @@ 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", }, - { /* end of list */ }, + { .compatible =3D "xlnx,xps-gpio-1.00.a" }, + { /* end of list */ } }; =20 MODULE_DEVICE_TABLE(of, xgpio_of_match); 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 16:45:13 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 E626D4ADDA2 for ; Wed, 15 Jul 2026 16:56:28 +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=1784134590; cv=none; b=Ev8wubUvQlTir+tnHLFKJ5kocjWwJuDN+Ud0QgEJNnzNf7uj8hl42o1gMVGw+UOFr0FOelXDoKH7MQQJckhwd2ZlswUFu3YzMZ2ESHteQhl6X5RRDvEFOlTAVtaXLYut2FuoM8N6z19GU8fObACaPuVE19pGI3LSFgVopyW0tSE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134590; c=relaxed/simple; bh=tlhpfxWNLfu1I4z7wJOpN0fnYBl00+DJVsJb0YfBZgQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hOSZtfNzQz3EqrL1Yn15daRk/uZfp3FXnjmXbQNBTEeisU7jJ/Rhs3/kcUfkCf12UJA8MB6HbNPEzyx3WaZl0CWL/DWu3wC3/wsSq5sPeOIXvQjhmaf5m01AkpweJ1HnOAgCLesMPF1BbwTXMFio2tJTcGB2voanXEoIIPmKebs= 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=NMQml6MH; 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="NMQml6MH" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-493b1710405so31249185e9.2 for ; Wed, 15 Jul 2026 09:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134587; x=1784739387; 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=NMQml6MHQhoW61KgEok5IzuupbmwLSeFehwDKFM1opIf0PN/gtmbf8y8DScm1b+X7W ehqRPI6nndkaOrFdd2m2ea9MOgJoOjikAySa8whwwESsAgUWOc8e0E2F5EHU67G6FUYw psmVibi+0ps/fdnkx9fpZH7CG9bDAcNPMdR4ghVqfIGBoqlD8jbGJcmgdq7bBWoY2W1+ 1crBOBIFU6QWK5DhPDVG0EQrNrWPXsCxIH+6Z87Kiw35Bgmgm83A6cT7BNdsGU3iO4bf tF/n9+tqvsP5qxNKCOLQiLuXC0z9X5uZwXTU/II7U/3ewt9kOuIbM5lNmpymHBRgQE7M S3Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134587; x=1784739387; 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=EqP0lb3po0eXsusJ+wppEQaY4J6R6xKUaCmTkD0U0c87bnO9EXsnAWSO81D3+nb2bV yuhnAtHfMMABqYGIrIPiiyzk6OWIdkVo0uOD0H4nHhY0lVTohJCqFE+zGFeY+uiT7l5X yxfjYXXIf9gl8JHyygTneDBt2MA5cF3Ni+DAWczTOewwN9VXHcgyatL8NIgVDLaNgLjK 8QacAVsG1coDmmhGAYAPTd7g4qDovBz0tuNudl4/fTzQBDiwTUUzcsODr5hk4ovyZ7l0 dRTRbpTzY1D9DFW/bJHtpfikXZTp8rHPIzzrBjsr9O0sFNbCJhZAiKfESxRpGUZnyqFi qfbA== X-Forwarded-Encrypted: i=1; AHgh+RogWYLM0lffnc4+gRAb3BdfVYqV5lFD4C6PZmXI6jI1vjgRJSCjdD49viaY3qcaMQ7GHjnavckUtMMR1kc=@vger.kernel.org X-Gm-Message-State: AOJu0Yzx2z1uigIUJbglCSaQWjCprt8ZYwsKm077OOkrk7OP+VBzvfBw T0HA0lgNcitjxbKaXTfcDzPwKTcKovYwebB+G05Rhzt1Z7TUexmK2TQhMim9T4W3jD8= X-Gm-Gg: AfdE7cnx2pvldowjo3WVCCfHlIsIQETYXMkW2l5ZTYv0bgcUZJKzV8EKd4Rc7uXg5Rz ROQHImTk/Dr1OmmcB2fv/qsLdE0RVBV+scIs9zynrRlCdgxZag8/wInCkSIDxtTvpSwyRu51HMU /ImMc2UY5If4du0K4/859wMS64Btxc7HC4kgJBeB0sKQXqIE2tkHmaDW40Xr4MB7YRjAk2sGDwO j/uNmyPUzbt1icLb3mvWvypRMHUi7wqm9QapX0JWAEqa2dXDZyK/9BADy8Tws8pAvk9mrZ5mqtO 7ANNX9RRpP/BkQQ910N6eIqhg1A3Qpdf9JOqd2KNV47G+xAma2o/RxgVOtP+LlwlPGIm3v0rOdN utr9BOnpV5bSR5prjenLtFD+2pdjQrjri7Uo+y70a1AnBA1mopLNLzVbhBCEWfjjUyNPUfnrGSp J06tXB+0K4KruZgRk+7bAY2YbPM7MNyJ+GXwHxpTU+a+5U38awCA50ej6BweDqm00bsNrrPmDeL hk= X-Received: by 2002:a05:600c:46ce:b0:493:b811:e549 with SMTP id 5b1f17b1804b1-4951830a532mr102332995e9.29.1784134587182; Wed, 15 Jul 2026 09:56:27 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f4634debesm17815408f8f.8.2026.07.15.09.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:26 -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 v2 18/21] gpio: max77620: Unify style of platform_device_id arrays Date: Wed, 15 Jul 2026 18:55:23 +0200 Message-ID: <3cf798acf13dcd7fe0df25c956ec0f15819876b0.1784133987.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=1202; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=tlhpfxWNLfu1I4z7wJOpN0fnYBl00+DJVsJb0YfBZgQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uU6mp9gnJSzu9df9PgbT8x/16Ut9tGBmTEV XcuCdgkMc6JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7lAAKCRCPgPtYfRL+ TkUlB/wMAhi6Ro2xhwNgk2YzkPXVTehI5+5tdRx9a7MfSolxHJabcxcU9ZCLhUqE9dtm0bg5fb5 ghFBJSLWH9z8TN9/AIGGpoRh6e2DX5IK8lctxg6xy5CIX5pK3NGtv/bkMsEQdQImmjU+63dt7MS o7/a08i8wMsIJow793X0XB9bHR13vk5KSKEbU8DKvhC1d71nkPqvs9Y7PrtKY7wgGFb0jbf0/NU w4Cqwi0bWxEeBwA0MGOt3pvI/+Q2apHuhPgkM9tewlKc3IYwsT5bblT3noKOPRprw6KwMAQ/8lg vsdjk+va+XCDio2PKy5y26EZ4Hb77p84mA3Xru+MLcFNdV/Q 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 16:45:13 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 1E9034B8DE3 for ; Wed, 15 Jul 2026 16:56:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134592; cv=none; b=ZmrP4diV0i5R6yFcYmEPZclTbdyOPQuahvsDkIXtzsc1ydsUrGCSKW964kpNNPa50T+H7w0sukCHXqaWtFkXdLiWuZOcSF5eYY7fUIrv02WNBWqbS3vtWH/bZTvE3agK/d0uGa0tYn/bRjvbPOei9NSzltzpTkfes3DSaxxYih4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134592; c=relaxed/simple; bh=RpIRMTWZ8MttlPK03fnuszXJ+wTnFZwAX9zeYPpcfuc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rgCQRczZToWxL2FQWW3n3S1efTBVK06qEPM9qGvQtc/57iHqzwizAU+LiZ+Fab4qKZqeY0AXPiaHKF+4lFsu1M7GDEaZvxSrBPHvzc+LMd+ThstvZT2tew0m9QT30UK/6MNnIySvrVX1637WhVcL83SuP0Y4FAMqe66ay6KIco4= 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=OsaIebhd; arc=none smtp.client-ip=209.85.128.46 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="OsaIebhd" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-493d92b7db3so18152275e9.2 for ; Wed, 15 Jul 2026 09:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134588; x=1784739388; 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=OsaIebhdNBXRiJrJgB53zM6n3XVIn3Lw7VAARRHuDVRLVF0+HBB/SEVvriJM+PNucZ Zi65YS0kzT1ZsQvCLxKQENtzjbjIrfJ53rL9vFVdFBY22M6xnFgIH4nK56XfH1iSKkZ4 W2zdLTU60YaEUG/zF6UcCLlTret5h5OqPGPUfGm8ME0VkkYfwTmvbqj+vktKfWaGDFCV I2kdtYLpNOMXG6CjajqUYAwYyZQ8u4ANGCMjO33VXvEMgmsC7v4rCD3wwouBTensFfaF P2TCxlbbWlm6fs3LwjdygFdrvMVrTdwba4EBuqrBVgl8Vl5Ncfoand73Pt/SeaEghqsu Vf1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134588; x=1784739388; 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=qfd9F6Cy/DPUHrr6xpM7A0PeN+8qLGPd7JzUm/PVx1Mpa/32xUyoczbxXmTholBgXR sHKsHTD+kJVVTKtYDWNIIQgMNi2DbUsq1xybH2x3+oPvumrP+LmHsaHlK8mxLOpYJ1rK 4uY2GLhuSgzdR32FqfDhTsyTH80srwwYMwwF719iyUUxN82tuycAQn7zkl5gGsbjz3Wo 9fiGSgDqWmgMvrBBwjYF8lxhxobrEIa/5YrcAK+9LZ9e/qRYQHAZBoMKIQVEBL5gE41c /FfnRh0UAQCg14B9bf1JWafIUrBEnNig3Cya7+BD+1S5+XpM/XcYQ4/1xD5G8uCbvtcC vFZw== X-Forwarded-Encrypted: i=1; AHgh+RqgDDDWhW18QTFOs9wAOkoYfr6IvLtYx0HIeMhiSrPp0yoMaUn0Kh+8t2f8u3hmHu11i+PfldwKWAbRDEI=@vger.kernel.org X-Gm-Message-State: AOJu0YzfxGLH2cYJ3UHvb8pGjKyxB2p9wXXlnN4L3dEa6FsvhD97x8jd 3Wuyn4tUwfsi9Emt7q7sRA9JDIIuFtiYri/oteBrIkWJ30QHiECdFLctNvOostxlaxHtKChanDt Ie84J X-Gm-Gg: AfdE7cn3ZinYLZQXo/n5GN27rZ+T3st8oOcAQCFmMQbUCuFds7ybuy+befup5FXRAR6 AdOQRUyXPNqqwnx9eyC0kAs8/ree6WOe99+7o51tQmswZSxnxCqJmgtVQ0HmPOSNSHD5R4WxEaJ fBvhcmdtCd/8bIapUXq0T6z2CtabSCGJgMK09heKBONofp6TuyAIQPJ6TBox0jA4Ke4YoTDK4hn KtHF/MA0rzp7tyTKjAwdq2u76VRKNJXsF9ACy36G4utNJbu8Nlz751Y9jN9RbH7rJqvnjkhaiVz rKfhDinQnKT7TcAY54jau/v8A2lxQTJlosi7fNETIrBo3BhSa7xP2ihS9pUYqEt5FBWald656Hj Owx6r6qpb9bZiILnouyppmLUTT2YuD/ypQjwZqs/m3ljFwIeUL7kT/BMysmbeSV9R2iBoYicZAl 7W6TakzCM/sRo224ql9IwGWnmbN5FqR0eQ0PbPZegq9JkRjyVjOuvTd1nPBTcmSTRDuS5Jcn+9/ mw= X-Received: by 2002:a05:600c:1f8f:b0:493:e79e:da6b with SMTP id 5b1f17b1804b1-493f8815d42mr243970945e9.21.1784134588374; Wed, 15 Jul 2026 09:56:28 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-495087366c0sm294796345e9.7.2026.07.15.09.56.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:28 -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 v2 19/21] gpio: Unify style of spi_device_id arrays Date: Wed, 15 Jul 2026 18:55:24 +0200 Message-ID: <9ae5878ab2000e8795deb9ac46ab33bbc507805a.1784133987.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=owGbwMvMwMXY3/A7olbonx/jabUkhqzw3dOTE87ovckzlFvEckvv0ew23bWz3OU3vw/Ovn9mb 9XmilMOnYzGLAyMXAyyYoos9o1rMq2q5CI71/67DDOIlQlkCgMXpwBMJLSFg6GxY4LfNPfs3XmV PVdObtPhVfj2f/mrgglrPl15I827oaFj4dfFF9LX2xxVia68n3ljvbq+R06bP+ORnjuvIgS0ixT dmOyln7w5m3OD7YMn24WULB5LPaeZx3ofHLvCfcC2WCZnXkjafA7+irz13LpSCSs3JdU1267NtV 7+3FjrdxaHlpUEn0b5ibn/vyn23zLTVNih1MfwkfeEkn+Di1H1s943ix8GCXMnHn3N87je+i2DQ 79sqeVMjZdBR5iP/ZmeMKO2JLfct7CSq8o9bEF93lSJqN0/48/9vlPbELSMKcv70CvHrGVTz32X y8jpVpL2ruzMfsuQG5XA+6Vx7u2rd5d8vPg/+3eT3H05AA== 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 16:45:13 2026 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 783004B8DFC for ; Wed, 15 Jul 2026 16:56:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134593; cv=none; b=r6o6Adiq1aal/b5gOEZFNCrISmB54W6EuFcwtNI2ItTMTf/e3zO+V3J5ziY/yCcwu0EDsqClUhhdsjUIO8VV9NKe1x6nVCYDJxN0OsvQyYFxY8fVNU6Ua7S/48LSi//w5zw3zKnZX5bYZp7uqt9N1HWribv+0+AdT0wbrbYPIrI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134593; c=relaxed/simple; bh=xop2FbBj5tuNPwvd//uvsdP3YavOUZbUCVxoOGfcP5c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JRn5AaIj+SjA4s8pEMEF/Hry4KOx2kNFZn6s/7hk89P97jZHRvG9zk6fG43k9yE90//fWcC3JeKf0wYqt4GwI8ULLpIqPm6cvsldjGk4eMgWWFrbK8FtRufpj10fzwRyaCDafd3K/po9BRZhi4PJNa892lLQ0mvsLc9vkvVviO0= 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=QCOX3W3s; arc=none smtp.client-ip=209.85.128.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="QCOX3W3s" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4953de5be0aso5332965e9.0 for ; Wed, 15 Jul 2026 09:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134589; x=1784739389; 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=pAFIavaPW7p+32R+45SYEoxpX/bETeA1cTox7VP4+MM=; b=QCOX3W3sYE/sjv2h4TEcN8n3+mcDf6qSXQTDZgtZf2JAirkWSsSAVEXebnjmLVWSEU fP+nYsxpBgcuin70tJ92rcmP3Qz1bVeLiKx/Zc9gSUkCufpXyKEdXQYHpSBNoQ9arSyK evEhjFYO3LI4VA4DcGU3oPa05fTY8TdP4fki69jWjvcgfxzVQ+eR8+ZKqtHazvFd0Ysk nUjV1hFgM8BMpk6YJJI0oaAO/DJAOqyFnLcjxMaVsRJPp2AocAD4jBHXKv2Eu4DYlZTL q/C8CprFmLK6TJxDIZEABmZpHr+bOQD26GnrDnzQpWObwvBI0zSAAbigtZkiNSaT0Ssw pAvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134589; x=1784739389; 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=pAFIavaPW7p+32R+45SYEoxpX/bETeA1cTox7VP4+MM=; b=ULaT1qh+GhA13tZd19QqpjjbTAbPxRVNVfN/1jL523aegoRYlq600JoVk9U60tBUIQ ahd+nXpHMRISWwTQWF22i5LD6QML35vNokTdAJW5V0A/lP1gEiQGBjntxzE8iRn5e5w/ 4bt6dLbL7OGv6J1g1i7aOP//EqJZVzWNh2Kc9VubFLYxmZyygkfkggH4M0GPzM6QmtpB 9Ae0LnoyolBBOpMCxBaua1j5StvaaHL5OgbRtase+6HBPcs/KRxdUduXyTrZ7Hcin5I1 rq+SmP9HzXJHY7O2a9K992UnGubryALZ07pOlUsjkC2xGDH1GB2zWqE1dFgrbidJMFA5 c4iA== X-Forwarded-Encrypted: i=1; AHgh+RoFy4tftDMDweZN1Zwrlwtu9/3PlxGeHGKjqiL3Gpxwdvcx47Qr5EAZG+u4GurcBLHDSxP566392m5MqxM=@vger.kernel.org X-Gm-Message-State: AOJu0YxsV3nfi0G0U0qZubEx5QZoob2QpgoAFJbDUhf57mjBTIypsv5P CKJVxnx53HcgS1TvUwzAzkADm2mh0R7GRssSA3eNi/Swnn1TS6xJl+Brw0bT8SpzARU= X-Gm-Gg: AfdE7cm5fk8Ca08zfZE55UPAqvZpeAwp39dYQaEUN4dO6hUnLYEHgjUvwDFZdPoe9Wm S0fNaJmo26TO4EmITMrBF+UuBsI6BdnyEojh3hXm2n3sGoet0K7jZw4yVS5856C8Zq1GSBMNws9 kBgL7lHky2ivDBPzwjcznpd8OjIyHnxKp1YM/6zon3GCekJPEJDLwqlx74Yf9wojg2cgNsU9YlA FumCDbkP8Aw4orbJHCnhCg7COlRVDagrRBcXwbNzCn3Gxsjjh5IiT9FDCTCAFrYdh7Xdf1QCixK jdmY0MABjIA6LfiGsYjpGiZNW5RHllyTYjCHeQlAXHElgOrDPqS6HLMuOujqF+vjQ5T2G5JMg5x 7yl2BWbaBY4TIFiVfsCtszGmHDSCWdOsLHqmqGEp4MhxxrsqIWwa0bf2F8UjCD2RKnZRWAJ6Nxt DGjUVa1ChkCm2Pgh+H2VeIAlekP3Q4xQWbN7LxYTkDvoGxnKvMCHsCfpt6dLP2mDhqig8a2OjQN HA= X-Received: by 2002:a05:600c:4f8a:b0:493:e947:b24a with SMTP id 5b1f17b1804b1-493f87e72a8mr189426985e9.14.1784134589586; Wed, 15 Jul 2026 09:56:29 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4953c70f99dsm51162975e9.2.2026.07.15.09.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:29 -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, Andy Shevchenko Subject: [PATCH v2 20/21] gpio: Unify style of pci_device_id arrays Date: Wed, 15 Jul 2026 18:55:25 +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=4653; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=xop2FbBj5tuNPwvd//uvsdP3YavOUZbUCVxoOGfcP5c=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uZ05xxLN83oiLEZddzG96QXCZOBkro/Ph9s mDUlRNb6TmJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7mQAKCRCPgPtYfRL+ TpPRCACxkhWRGX9dtEMeKnqIaekeFpTdLTKEO3opwqQle/dkW2EG1qWJZSohmCWOJj4yI3j6bbS euuLd4Q2+AuSOqT+w6xe2ym+gfK33DR0RFjigoPCbMPraXXoE9HgKd2MUXTVdV21lsQg7gTW+Mr zFF5kJzOZ8Nj/tkXa8Du63LMMxvsm77cBPha/YjrYtvW9a2JTq073OJnE/w7+YkCcDHxyoHSgPV EMJRzgWMlPSOT/Woke3jCTD7UH5G7raBIQk7R5FcoVuIqhx74A26xCSkya2oyK2DeOcY3Xj54ct cdEVCnswS0n9K+2SO5W/kHD0VCSgx2msXHnTVlJeBvla0sm9 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. Reviewed-by: Andy Shevchenko Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 16:45:13 2026 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 BF95B4BC018 for ; Wed, 15 Jul 2026 16:56:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134595; cv=none; b=npeA5bfEIcnkuzaZF00k7+yGzR+Ohr8pwGraun67gZe1NCZ7OJCXZpc6/vf5BeSIjqAkAc0wfAay+bYwrAvvli7Wh+AdH7d8p6reCarEax30swFXth89YXeBwJKrFx1uF1XwIUippHoXzUj1YO9xS20LAkpvvgjqW5aO49K1a94= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784134595; c=relaxed/simple; bh=qeMqNCPR4JZWZmIFkke1fRMQtsN1pMrftafnXla94ZI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rtKkGDs+CHyqM7yrzqhRi53CiZf7kOyPyTOuzOxkoBdglAugu0iwIYE72YfKOwzh5oYEfMiRu4yUNNfdhg3dE1lmGw1VPPOfuiYltVtkiJ3Tg1GXk0YIAuQuX5Klg2a8LOAkljUEaKMDkwguVTwQDXAj6tqLuKi5kocwzpdv4uA= 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=Dl6D7QSB; arc=none smtp.client-ip=209.85.221.48 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="Dl6D7QSB" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-47ddf7b09e5so2123754f8f.1 for ; Wed, 15 Jul 2026 09:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784134591; x=1784739391; 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=0YbKISqvDXzDxXFBLILdiprJK/dXdWku3hILu+bMdhE=; b=Dl6D7QSBJXz0wwLN/j1UJisnYjrNgkYUb9bNiSA+MuWJPuQW7tcFHi1pytl2DOsGxp A5f5ldhAEPaPhbclexDzVV1RAtvWMqlYxY3OQVW1PV1lZH0PKkYupkYxLCN/csqEt9n4 kcv+GdK37iEE+V8QRTuc+XAFm29Ivb+15Ws+jf5lqCU//6OE3Bs19kTu5fWQDm2wzpoc WYscaQd3CKXgzQMFvZWSSEeRlsPy7hXu15SIowrQ0RQ0ETyddWqr7L6nQFw1zdFnqJYB Jdh+hGGvhCd2qXiDzu+P/wPoEwPrY5Nx3g0wMPyd4mYzo5Zc48zPxHdL/Yf14oZz1EeG lTYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784134591; x=1784739391; 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=0YbKISqvDXzDxXFBLILdiprJK/dXdWku3hILu+bMdhE=; b=FcOO92e4v9RVKp6iW4g93p2m9Ozhcv5+I6f79fRbe928TDgiRf8jS41rcOOUOlulJj syyK1biUEniTZ1LkRvecz9M3opKec7PbXlaIkQcA8EWz0H8SFy/NPKCF+iDWzKWLvzxW DWNdjY6d7svQZ+Y1C9CooZyqsbGJqo7BQJ+hIjodJKSt3zwdRbSQgvm8TSoeGT+HthJE Jfcx7QqsNgF7mIdUjHGoznkpGCl6xDwOmR1wyfyOcE2BLJE2/5ASPIcgEMJ3e6xQHvSR RK3nIQ4zRzXLKJL26hTEXHIoaRz8SYhVgS1XcAWSwIxUuYZacnVnmELR0PbOknkLvmT5 OZdQ== X-Forwarded-Encrypted: i=1; AHgh+Roc6rbxOaNiQVtd4FpBPCgEk/ZxqNPFMiiQsn902krDXvPw24VyNz9dbnpiptZMzbN/obqoOTFOhaa6BKk=@vger.kernel.org X-Gm-Message-State: AOJu0YzgcJ6hDD/TenhsOVS8Jwh875myRhqrMPjfSmSTQOVy4qzULVys C9bjqUZxmnyXX6LDFapBTNDnpdLQBLU9eCFar3y7P0BnWkpZzuJf0UwuYm/7ZhHTQd8= X-Gm-Gg: AfdE7cnNm4i9eIKszTAQhTQmwtUJn8VOOjI5tz5gh9mx5RaICaK8fs6IiYj3VraF7qU +LNNA6zhBx6w0NJYeDHNQRQB/jeIFVrc1osEnN/9xFDwOlUWVamNNyq1oTN6h3qOrZbhNfO3YIB q26FT11XyKp+XpzyiAzpDYCFK3QHMt1bG8Q4qktwmnD90mf1og4sE1gpqMTf0s52J1mzVkGGyms voZfJkNSK32C2MYPj6eNJa6Rjxmg2QqY9YD+AKLV7yitsKYCu+Zq2J/zF2TKM/lLbs/uAmDZNRM pJhWCQafHryf0aw5w1FyBl/D0lcrBz9gOHdPXIv0Ij05iJ9T0/YDVEIMY3TPWzfw9WLs4yH1Di7 lULZzKmWps9GjZV7c4VfvgrpnUNJ+30yre9eZJsIymED4VdmpnQmHO+Q0573TwVH2+k+0yElNEj W8+SpjuRtnZ2UhbJ/jThMceaGdCSbsQNs0neqR47QwVj07WlX0MhvkTFgh58aDBsFhOk5dXhi4/ hY= X-Received: by 2002:a5d:5f45:0:b0:475:f100:35fb with SMTP id ffacd0b85a97d-47f2dd42e56mr22174405f8f.56.1784134590979; Wed, 15 Jul 2026 09:56:30 -0700 (PDT) Received: from localhost (p200300f65f47db04249e031dea91a10d.dip0.t-ipconnect.de. [2003:f6:5f47:db04:249e:31d:ea91:a10d]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47f464d6fa7sm17882394f8f.37.2026.07.15.09.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 09:56:30 -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, Viresh Kumar Subject: [PATCH v2 21/21] gpio: Unify style of various *_device_id arrays Date: Wed, 15 Jul 2026 18:55:26 +0200 Message-ID: <74f18045a53d99047c5c2cc83d970b5b429dd14c.1784133987.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=3442; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=qeMqNCPR4JZWZmIFkke1fRMQtsN1pMrftafnXla94ZI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqV7uch2g9AnBq1MR+kOpC5ck2xFfv/uUZWPUsd dNPkiBW/PqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCale7nAAKCRCPgPtYfRL+ ToM0CACLAvIimVfXS8xTho2bAKb8xdVegyIEW1xqvduBfKnWYNQHbpxbenrwDf69EjXN9Yp3/Ca +Mg5ERVlDCQemWelrhbq3sq/MCemWG2YnPB6Uqo+96bx4RG3YUzxi0poqp8VHZqjhETsBmvbbyP r8rKwus6aIFV6pbAm/f4BE1MhP8yxnm3TEMvUpUK28jcJxbpCIT69TKqwZGnrM4V7sbC4ClMtMA UJR9JO5nFu9Pn+bp/5TMBiJX6+WvokZmkDKNgH1PjKl0qX3MI6L5WZ6daFTkkFlCR54I0lQF9JL qEMgBzYaSdfrXDpvYi5Zjbtttg7vqYMoTs7wtT2QKc04sGzb 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. Reviewed-by: Andy Shevchenko Acked-by: Sakari Ailus Acked-by: Viresh Kumar Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) --- 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 918cadc2db07..7db33477faf1 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"), }, }, - {} + { } }; #endif =20 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 a0116f004975..7c5817a3157e 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 */ }; =20 static int __init acpi_gpio_setup_params(void) --=20 2.55.0.11.g153666a7d9bb