On Tue, Jun 02, 2015 at 02:09:14AM +0300, Vladimir Zapolskiy wrote: > All GPIO1/2/3/4/5 control registers have the same bit map, but in > implementation of gpiolib callbacks WM8903_GPn_*, WM8903_GP1_* and > WM8903_GP2_* macro are mixed up. Replace particular GPIOn control > register bit definitions with generic ones and save ~150 LoCs. > > No functional change. > > Signed-off-by: Vladimir Zapolskiy <vz@xxxxxxxxx> > Cc: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> > Cc: Axel Lin <axel.lin@xxxxxxxxxx> > Cc: patches@xxxxxxxxxxxxxxxxxxxxxxxxxxx > --- If Mark's ok with this I think I am. Generally those register files tend to list all the bits on the chip, but certainly in this case nothing is really added by listing all the GPIO registers seperately. Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html