Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: madera: Fix minor formatting issues

The mfd_cell structures inconsistently use commas on single entries in
the table, make this consistent by always using a comma. Also remove an
extra blank line.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Charles Keepax and committed by
Lee Jones
b92735f4 7f8a137f

+6 -7
+6 -6
drivers/mfd/madera-core.c
··· 44 44 }; 45 45 46 46 static const struct mfd_cell madera_ldo1_devs[] = { 47 - { .name = "madera-ldo1" }, 47 + { .name = "madera-ldo1", }, 48 48 }; 49 49 50 50 static const char * const cs47l15_supplies[] = { ··· 55 55 56 56 static const struct mfd_cell cs47l15_devs[] = { 57 57 { .name = "madera-pinctrl", }, 58 - { .name = "madera-irq" }, 59 - { .name = "madera-gpio" }, 58 + { .name = "madera-irq", }, 59 + { .name = "madera-gpio", }, 60 60 { 61 61 .name = "madera-extcon", 62 62 .parent_supplies = cs47l15_supplies, ··· 108 108 static const struct mfd_cell cs47l85_devs[] = { 109 109 { .name = "madera-pinctrl", }, 110 110 { .name = "madera-irq", }, 111 - { .name = "madera-micsupp" }, 111 + { .name = "madera-micsupp", }, 112 112 { .name = "madera-gpio", }, 113 113 { 114 114 .name = "madera-extcon", ··· 155 155 }; 156 156 157 157 static const struct mfd_cell cs47l92_devs[] = { 158 - { .name = "madera-pinctrl" }, 158 + { .name = "madera-pinctrl", }, 159 159 { .name = "madera-irq", }, 160 160 { .name = "madera-micsupp", }, 161 - { .name = "madera-gpio" }, 161 + { .name = "madera-gpio", }, 162 162 { 163 163 .name = "madera-extcon", 164 164 .parent_supplies = cs47l92_supplies,
-1
drivers/mfd/madera-i2c.c
··· 88 88 if (!madera) 89 89 return -ENOMEM; 90 90 91 - 92 91 madera->regmap = devm_regmap_init_i2c(i2c, regmap_16bit_config); 93 92 if (IS_ERR(madera->regmap)) { 94 93 ret = PTR_ERR(madera->regmap);