OSDN Git Service

pwm: sysfs: Remove unnecessary padding
authorThierry Reding <thierry.reding@gmail.com>
Mon, 20 Jul 2015 07:58:09 +0000 (09:58 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 27 Jul 2015 10:03:38 +0000 (12:03 +0200)
Padding initializers so that assignment operators align is bound to lead
to inconsistencies or churn. Single spaces around the assignment is just
fine.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/sysfs.c

index fbfc9e9..c472772 100644 (file)
@@ -312,9 +312,9 @@ static struct attribute *pwm_chip_attrs[] = {
 ATTRIBUTE_GROUPS(pwm_chip);
 
 static struct class pwm_class = {
-       .name           = "pwm",
-       .owner          = THIS_MODULE,
-       .dev_groups     = pwm_chip_groups,
+       .name = "pwm",
+       .owner = THIS_MODULE,
+       .dev_groups = pwm_chip_groups,
 };
 
 static int pwmchip_sysfs_match(struct device *parent, const void *data)