]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: Define all twl-regulator feature flags in one place
authorNeilBrown <neilb@suse.de>
Tue, 8 May 2012 19:43:59 +0000 (05:43 +1000)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:26:58 +0000 (17:26 +0200)
commit9577e8c3fbc145b5d2a12d2fbc6a50031573c77d
tree8d5bcfc158a4b7c97f392d696d77eef0c160a337
parentcd4209ced4d3936cfe51b7b8833260457e2d9995
mfd: Define all twl-regulator 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: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl-core.c
include/linux/i2c/twl.h