diff mbox series

pwm: cros-ec: Drop unused member from driver private data

Message ID 20231116105212.650951-1-u.kleine-koenig@pengutronix.de (mailing list archive)
State Handled Elsewhere
Headers show
Series pwm: cros-ec: Drop unused member from driver private data | expand

Commit Message

Uwe Kleine-König Nov. 16, 2023, 10:52 a.m. UTC
.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 <u.kleine-koenig@pengutronix.de>
---
 drivers/pwm/pwm-cros-ec.c | 1 -
 1 file changed, 1 deletion(-)


base-commit: d27abbfd4888d79dd24baf50e774631046ac4732

Comments

Tzung-Bi Shih Nov. 20, 2023, 8:54 a.m. UTC | #1
On Thu, Nov 16, 2023 at 11:52:13AM +0100, Uwe Kleine-König wrote:
> .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 <u.kleine-koenig@pengutronix.de>

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Thierry Reding Nov. 28, 2023, 4:59 p.m. UTC | #2
On Thu, 16 Nov 2023 11:52:13 +0100, Uwe Kleine-König wrote:
> .dev is unused since the driver was introduced in commit 1f0d3bb02785
> ("pwm: Add ChromeOS EC PWM driver"). Drop it.
> 
> 

Applied, thanks!

[1/1] pwm: cros-ec: Drop unused member from driver private data
      commit: 53231af13df265cb46da99d5936ed270f22a35e1

Best regards,
diff mbox series

Patch

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;