mfd: twl: define all feature flags in one place.
authorNeilBrown <neilb@suse.de>
Tue, 8 May 2012 19:43:59 +0000 (05:43 +1000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 May 2012 09:04:23 +0000 (10:04 +0100)
commitc30540d78e60068d5638b79f1bcc92b259c3c7e2
treebdd455d6f5d3412f2f67b97d281023922253be5b
parent1f904fd1cdbda0930f667ad6a1b304d3e8f8334f
mfd: twl: define all feature flags in one place.

twl-regulator has a collection of feature flags, some defined
in twl-core.c and  one defined in i2c/twl.h.
This is confusing for anyone adding a new feature flag.

So collect them together and place them in twl.h immediately
after the structure in which they are initially set.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/twl-core.c
include/linux/i2c/twl.h