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 |
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>
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 --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;
.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