Commit f3e25e68 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

pwm: Drop unused member "pwm" from struct pwm_device

This member is only assigned to and never read. So drop it.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 4e7a8dbd
...@@ -265,7 +265,6 @@ int __pwmchip_add(struct pwm_chip *chip, struct module *owner) ...@@ -265,7 +265,6 @@ int __pwmchip_add(struct pwm_chip *chip, struct module *owner)
pwm = &chip->pwms[i]; pwm = &chip->pwms[i];
pwm->chip = chip; pwm->chip = chip;
pwm->pwm = chip->base + i;
pwm->hwpwm = i; pwm->hwpwm = i;
} }
......
...@@ -79,7 +79,6 @@ struct pwm_device { ...@@ -79,7 +79,6 @@ struct pwm_device {
const char *label; const char *label;
unsigned long flags; unsigned long flags;
unsigned int hwpwm; unsigned int hwpwm;
unsigned int pwm;
struct pwm_chip *chip; struct pwm_chip *chip;
struct pwm_args args; struct pwm_args args;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment