aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorUwe Kleine-König2023-11-14 12:20:11 +0100
committerThierry Reding2023-12-20 16:04:12 +0100
commitf3e25e68ceb2abaeefcac8f930c940c4494705d0 (patch)
tree42cab1a89cfe6ad5c41e6733bbf976908309bb39 /drivers/pwm
parent4e7a8dbd2bc0aec4605a5069df7a779bd9e64db1 (diff)
pwm: Drop unused member "pwm" from struct pwm_device
This member is only assigned to and never read. So drop it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
index 29078486534d..24bb796d15f6 100644
--- a/drivers/pwm/core.c
+++ b/drivers/pwm/core.c
@@ -265,7 +265,6 @@ int __pwmchip_add(struct pwm_chip *chip, struct module *owner)
pwm = &chip->pwms[i];
pwm->chip = chip;
- pwm->pwm = chip->base + i;
pwm->hwpwm = i;
}