On Wed, Jun 20, 2012 at 10:01:30AM +0200, Guennadi Liakhovetski wrote: > Providing fixed voltage permanently "on" regulators with different voltages > shares a lot of identical code. It will be eliminated, once the > regulator_register_fixed_volt() function becomes available. Until then we > introduce a macro to define such regulators. This helps reduce the amount > of added code in each platform file and keeps copy-paste errors to the > minumum. Or you could just pull in the topic branch I created for the purpose of allowing other trees to pick this up: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/topic/fixed which should save everyone work all round. Just don't rebase.