summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-cros-ec.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-11-16 11:52:13 +0100
committerThierry Reding <thierry.reding@gmail.com>2023-12-20 16:04:13 +0100
commit6c4406ce609fb5857d52c1e42a40cb5e7e8ee94a (patch)
tree281052cd4f0660ba6b3d11455ae898c151143d7f /drivers/pwm/pwm-cros-ec.c
parentpwm: Mention PWM chip ID in /sys/kernel/debug/pwm (diff)
downloadlinux-6c4406ce609fb5857d52c1e42a40cb5e7e8ee94a.tar.xz
linux-6c4406ce609fb5857d52c1e42a40cb5e7e8ee94a.zip
pwm: cros-ec: Drop unused member from driver private data
.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> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
-rw-r--r--drivers/pwm/pwm-cros-ec.c1
1 files changed, 0 insertions, 1 deletions
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;