Commit 6bc7064a authored by Thierry Reding's avatar Thierry Reding

pwm: Remove useless whitespace

Remove useless tabs used for padding in structure definitions as well as
some blank lines.
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 412820dd
...@@ -924,6 +924,5 @@ static int __init pwm_debugfs_init(void) ...@@ -924,6 +924,5 @@ static int __init pwm_debugfs_init(void)
return 0; return 0;
} }
subsys_initcall(pwm_debugfs_init); subsys_initcall(pwm_debugfs_init);
#endif /* CONFIG_DEBUG_FS */ #endif /* CONFIG_DEBUG_FS */
...@@ -87,8 +87,8 @@ struct pwm_device { ...@@ -87,8 +87,8 @@ struct pwm_device {
struct pwm_chip *chip; struct pwm_chip *chip;
void *chip_data; void *chip_data;
unsigned int period; /* in nanoseconds */ unsigned int period;
unsigned int duty_cycle; /* in nanoseconds */ unsigned int duty_cycle;
enum pwm_polarity polarity; enum pwm_polarity polarity;
}; };
...@@ -141,23 +141,16 @@ static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm) ...@@ -141,23 +141,16 @@ static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm)
* @owner: helps prevent removal of modules exporting active PWMs * @owner: helps prevent removal of modules exporting active PWMs
*/ */
struct pwm_ops { struct pwm_ops {
int (*request)(struct pwm_chip *chip, int (*request)(struct pwm_chip *chip, struct pwm_device *pwm);
struct pwm_device *pwm); void (*free)(struct pwm_chip *chip, struct pwm_device *pwm);
void (*free)(struct pwm_chip *chip, int (*config)(struct pwm_chip *chip, struct pwm_device *pwm,
struct pwm_device *pwm);
int (*config)(struct pwm_chip *chip,
struct pwm_device *pwm,
int duty_ns, int period_ns); int duty_ns, int period_ns);
int (*set_polarity)(struct pwm_chip *chip, int (*set_polarity)(struct pwm_chip *chip, struct pwm_device *pwm,
struct pwm_device *pwm,
enum pwm_polarity polarity); enum pwm_polarity polarity);
int (*enable)(struct pwm_chip *chip, int (*enable)(struct pwm_chip *chip, struct pwm_device *pwm);
struct pwm_device *pwm); void (*disable)(struct pwm_chip *chip, struct pwm_device *pwm);
void (*disable)(struct pwm_chip *chip,
struct pwm_device *pwm);
#ifdef CONFIG_DEBUG_FS #ifdef CONFIG_DEBUG_FS
void (*dbg_show)(struct pwm_chip *chip, void (*dbg_show)(struct pwm_chip *chip, struct seq_file *s);
struct seq_file *s);
#endif #endif
struct module *owner; struct module *owner;
}; };
......
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