From patchwork Mon Jul 8 15:25:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13726721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2C97FC3271E for ; Mon, 8 Jul 2024 15:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oxLnRCeU+EqpNAy0Jvkl4K/sbu89YzVgU/Uvsw3uIWA=; b=eO9jnV1Y9xSXrNw2Lfj/JpXSSK keRR/mtFCLNvFLJRhIP+XB6uQ0iFq2HH8i9ixDsLCmOFZD9t7fIteCuyaxibPRTwtTAUD5er1GGLp cIaXtDt4KDHBme5lXfYIbYIplyQYMV/WvnW6kVLOVTcamA9KnVoGLp95ajlWZVwbmJQfB+hjv5YIb ongNtO9Eu1oET8sLEIn2MCARaGMnHNyn4VIhSQcZW9YJYhORfR/Zp+umPSOwmp/dn8yICebZ2Qk8x G4qrsDVExx3Ui+BtEEyVOrk/5XP5CWOprgUBKFjf8hjfRglZbV9ZAfCf0kMDovEVSmJCYgskXf27r /bHNaFQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqFd-00000004Cz3-1b5I; Mon, 08 Jul 2024 15:26:01 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqFO-00000004Cxy-1RSp for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2024 15:25:48 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-367ab50a07aso2081235f8f.0 for ; Mon, 08 Jul 2024 08:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1720452344; x=1721057144; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oxLnRCeU+EqpNAy0Jvkl4K/sbu89YzVgU/Uvsw3uIWA=; b=q3UaYZjnaQHFWFY/5sWWxj6LkRMTlGa2OEPJTBV0tXZ6z05bOltDOClvTCSr9m7eHh Atm6c1K3drDKP12JYJys7Zdag/KUOEUkuk54djrpPmS4PJwZR2Oq6fC7Xj4Z0kUYo9WF HntqZWlbBc9jqA1z1nUPAQtRdByOldum0dISR6Jw6Na6rSUDHQT483Eoby0JaXas6Ikv 5IAdX1e2cmUHNN0QJ6T9CsiHb6qVk9uqXx4wWkcRYg1QoHofPwcmUw8wHfayZLXeafsm JIpUBMhmZMBmIq56tmTdsCCWyuo5D/uIehGRjUTiLSe8fuBYsU2ZhwXw7joIJIv4wqLw AUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720452344; x=1721057144; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oxLnRCeU+EqpNAy0Jvkl4K/sbu89YzVgU/Uvsw3uIWA=; b=X2DAVZrZK9FQDRhdNrbQ42tQWhp3bzfAmr+l4n2dqC92mOKSpMb1zcna+wqJaZMGEw SMEbED1JV6TWP+5YTSezbziJQCTQ6lU4nrOhDUuiUSupHu/2O/EFpiBqfySX/i4n02b+ DkT8h/mHZYfB4aIC+LerE6i79e9HUReiQGaR6ovmHk6YdHlBsUB73jNsIWpWdeFtW/pJ lUypvYMcBQqrdRyrRt0JboiuqJPQsU0PlKCgpWXfaODGcPU3Mcc/jwAO8OTH3kEc7y5y 2tWNxKWA3MQcpuxgvYs1s/3MrkCUb9CkFpsWkCZYqQKUZH0kVmrMVp7hn3FL5MI3OSjI Swng== X-Forwarded-Encrypted: i=1; AJvYcCW/WbBgSpKYsTUDU4qFDb3OqpgyggEvDuCvXaoMBIm4QMQu/KLPSQvzmy8+L5GA69OuJft03LnPsgpeUblTcYqhLcqgCbzX9TIkyw3W7toePQyheK0= X-Gm-Message-State: AOJu0Yx76w3WdwApVpszm14QygxuVses7gmPbAaqvbuTzoeTW63saw8f qM4uyYWPvB88pOtB44CQd4vIG/G9gXFUhCH7TE9AccGL7TRew4IhgWzekJeOMyo= X-Google-Smtp-Source: AGHT+IHd7fqF8B5P4VY8J7zLJ8fjAYwf9uP9yVMxmmT0lxO3YzRDoOiqoBcrGcOV8G6UPv4BvY6sQQ== X-Received: by 2002:a05:6000:1d1:b0:366:f8e7:d898 with SMTP id ffacd0b85a97d-3679dd66b3emr6497613f8f.50.1720452343445; Mon, 08 Jul 2024 08:25:43 -0700 (PDT) Received: from localhost (p200300f65f217d00930e0db224f9e8ed.dip0.t-ipconnect.de. [2003:f6:5f21:7d00:930e:db2:24f9:e8ed]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367cde8904csm65276f8f.49.2024.07.08.08.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 08:25:43 -0700 (PDT) From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Krzysztof Kozlowski Cc: Alim Akhtar , patches@opensource.cirrus.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0 Date: Mon, 8 Jul 2024 17:25:30 +0200 Message-ID: <20240708152530.19306-2-u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=980; i=u.kleine-koenig@baylibre.com; h=from:subject; bh=3cKgmqEVGt8q2CTHgrvFHLBcawejhnoFyUrF9+MUxJ8=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmjATqWZuN24gvnk3bH+irRXO1vjJg8Gn4enmWN aJEAWb7fQqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZowE6gAKCRCPgPtYfRL+ TpC6B/0RoSWQvf7xWlCc6SRIUPiAMir6pdkemADeUTEE7ljWaRq9gpruaztg7i0GDJWnecUmgFM WC41nLZDB6kVHl/jKkz/MxokgUextKKyHHCjmripdaHKMgthQjXXx+0IZ04nDf6/Ygd0ij33hzl crnB+G6P3ZiOmpRKKCoRiUUT0mw9J2u2SeO8Ic4xQsMVyxNufnejpqPZ5eZTVoZC9uXRZvbohfK V50YXQ4j9F1uPXsy/bOwAZHRS19XJNDypqE1CqRKXl/PcTO/3LDm9p2ZvmfzOCQIFp++7NEP4Xs 29adrGDymijtF3u6IajFHrfXu5/A3ANB1TTcJjgWmQFs76qp X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_082546_531089_F3D171C7 X-CRM114-Status: GOOD ( 13.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The wlf-gf-module driver doesn't use the driver_data member of struct i2c_device_id, so don't explicitly initialize this member. This prepares putting driver_data in an anonymous union which requires either no initialization or named designators. But it's also a nice cleanup on its own. Signed-off-by: Uwe Kleine-König --- arch/arm/mach-s3c/mach-crag6410-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233 diff --git a/arch/arm/mach-s3c/mach-crag6410-module.c b/arch/arm/mach-s3c/mach-crag6410-module.c index 2de1a89f6e99..4ffcf024b09d 100644 --- a/arch/arm/mach-s3c/mach-crag6410-module.c +++ b/arch/arm/mach-s3c/mach-crag6410-module.c @@ -446,7 +446,7 @@ static int wlf_gf_module_probe(struct i2c_client *i2c) } static const struct i2c_device_id wlf_gf_module_id[] = { - { "wlf-gf-module", 0 }, + { "wlf-gf-module" }, { } };