On Tue, Jun 26, 2012 at 03:13:58AM +0800, Linus Walleij wrote: > > +       regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, > > +                          ARIZONA_GPN_LVL, value); I should also have said that's (map, register, mask, value) which updates the bits specified by mask in register to value.