From patchwork Thu Nov 16 10:52:13 2023 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: 13457771 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 801E82D022 for ; Thu, 16 Nov 2023 10:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r3Zys-0000s8-KE; Thu, 16 Nov 2023 11:52:18 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3Zyr-009Qjs-D0; Thu, 16 Nov 2023 11:52:17 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1r3Zyr-002Zzn-3n; Thu, 16 Nov 2023 11:52:17 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding Cc: Benson Leung , Guenter Roeck , linux-pwm@vger.kernel.org, chrome-platform@lists.linux.dev, kernel@pengutronix.de Subject: [PATCH] pwm: cros-ec: Drop unused member from driver private data Date: Thu, 16 Nov 2023 11:52:13 +0100 Message-ID: <20231116105212.650951-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0.586.gbc5204569f7d.dirty Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=727; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=PtFb2v19D7ErEsZp4ooYXEwUA0E1EnNJY3/NquH5ers=; b=owGbwMvMwMXY3/A7olbonx/jabUkhtTQL7HqEvdnHtmx5qtLwNK6KP6Yr+07OmNfmpxVnxwxr 8wsTa+6k9GYhYGRi0FWTJHFvnFNplWVXGTn2n+XYQaxMoFMYeDiFICJBE9l/18VG7WszqrZdmbP V+UJMk+X2HRorUriyv3rH1P9fqe4steV0ssf1faUuQd+mt4t0jdjuUa0dV2F7RXNqbX9u2pMHev 2Pf6fsT7PkCt0EtfnN/0pqTkfIjf8nPnD376wR8XRoaOunp/no+dZDo2XTB/+dOb+7TOWSTTh/h 50QfH9wa7XSXNDNQ83eMuUOv+OaXeJPPJrc4WkftvPyZePLCk1/1KoGeR7Y9vBX9+fHTGxK3wh2 SEd6rBwpoFw84Ifcyylzrt/nbmP9UTdpHtFHoe0oy+IXtiVnCPB13zonpzFtl/zHHsXbe13ms1c 3aiiETxp94uIJVLOexVdtznNUVOpEVtx/lJJ8JfKRYsNAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: chrome-platform@lists.linux.dev .dev is unused since the driver was introduced in commit 1f0d3bb02785 ("pwm: Add ChromeOS EC PWM driver"). Drop it. Signed-off-by: Uwe Kleine-König Reviewed-by: Tzung-Bi Shih --- drivers/pwm/pwm-cros-ec.c | 1 - 1 file changed, 1 deletion(-) base-commit: d27abbfd4888d79dd24baf50e774631046ac4732 diff --git a/drivers/pwm/pwm-cros-ec.c b/drivers/pwm/pwm-cros-ec.c index 4fbd23e4ef69..9a8f1b6a4e13 100644 --- a/drivers/pwm/pwm-cros-ec.c +++ b/drivers/pwm/pwm-cros-ec.c @@ -25,7 +25,6 @@ * @channel: array with per-channel data */ struct cros_ec_pwm_device { - struct device *dev; struct cros_ec_device *ec; struct pwm_chip chip; bool use_pwm_type;