mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
1 parent
4e7a8dbd2b
commit
f3e25e68ce
2 files changed
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,6 @@ struct pwm_device {
|
||||
const char *label;
|
||||
unsigned long flags;
|
||||
unsigned int hwpwm;
|
||||
unsigned int pwm;
|
||||
struct pwm_chip *chip;
|
||||
|
||||
struct pwm_args args;
|
||||
|
||||
Reference in new issue
Block a user