Message ID | 20170407183441.58750-9-icenowy@aosc.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, 08 Apr 2017, Icenowy Zheng wrote: > As axp20x-regulator now supports AXP803, add a cell for it. > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io> > --- > drivers/mfd/axp20x.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index 2268a6a9aa2c..08b9bbd5bd71 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c > @@ -839,6 +839,8 @@ static struct mfd_cell axp803_cells[] = { > .name = "axp20x-pek", > .num_resources = ARRAY_SIZE(axp803_pek_resources), > .resources = axp803_pek_resources, > + }, { > + .name = "axp20x-regulator", I'd prefer it if you placed single lined entries on one line. Like this: { .name = "axp20x-regulator" }
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 2268a6a9aa2c..08b9bbd5bd71 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -839,6 +839,8 @@ static struct mfd_cell axp803_cells[] = { .name = "axp20x-pek", .num_resources = ARRAY_SIZE(axp803_pek_resources), .resources = axp803_pek_resources, + }, { + .name = "axp20x-regulator", } };
As axp20x-regulator now supports AXP803, add a cell for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- drivers/mfd/axp20x.c | 2 ++ 1 file changed, 2 insertions(+)