On Fri, 2014-11-07 at 20:47 +0100, Hans de Goede wrote: > From: Oliver Schinagl <[email protected]> > > The A31 uses the AXP221 pmic for various voltages. > > Signed-off-by: Oliver Schinagl <[email protected]> > Signed-off-by: Hans de Goede <[email protected]> > + cfg |= 1 << 7; > + cfg |= 1 << 3; > + cfg |= 1 << 4; > + cfg |= 1 << 5; > + cfg |= 1 << 6; > + cfg |= 1 << 6; > + cfg |= 1 << 7; > + cfg |= 1 << 7;
Could we get some symbolic names for these please? Looks like a helper to read/modify/write a p2wi register would reduce the repetition a fair bit. Ian. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
