diff options
Diffstat (limited to 'drivers/pwm/pwm-lpss.c')
-rw-r--r-- | drivers/pwm/pwm-lpss.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/pwm/pwm-lpss.c b/drivers/pwm/pwm-lpss.c index 4721a264bac2..e602835fd6de 100644 --- a/drivers/pwm/pwm-lpss.c +++ b/drivers/pwm/pwm-lpss.c | |||
@@ -32,15 +32,6 @@ | |||
32 | /* Size of each PWM register space if multiple */ | 32 | /* Size of each PWM register space if multiple */ |
33 | #define PWM_SIZE 0x400 | 33 | #define PWM_SIZE 0x400 |
34 | 34 | ||
35 | #define MAX_PWMS 4 | ||
36 | |||
37 | struct pwm_lpss_chip { | ||
38 | struct pwm_chip chip; | ||
39 | void __iomem *regs; | ||
40 | const struct pwm_lpss_boardinfo *info; | ||
41 | u32 saved_ctrl[MAX_PWMS]; | ||
42 | }; | ||
43 | |||
44 | static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) | 35 | static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) |
45 | { | 36 | { |
46 | return container_of(chip, struct pwm_lpss_chip, chip); | 37 | return container_of(chip, struct pwm_lpss_chip, chip); |