On Tue, Feb 25, 2014 at 11:03:47AM +0100, Markus Pargmann wrote: > It does not make sense to have dummy/fixed regulators that are not > always_on. This patch adds a check in the set_machine_constraints > function for this case and returns -EINVAL if such a regulator is > registered. Such a regulator isn't going to be useful in a system but that doesn't mean that they shouldn't be registerable since that allows people to look at their state. For example a device might have some GPIO managed regulators where the GPIO is tied low if the regulator isn't in use in the system.