commit | 6001e13c5f708eb68c744a69df3c2c281156030d | [log] [tgz] |
---|---|---|
author | David Brownell <dbrownell@users.sourceforge.net> | Wed Dec 31 12:54:19 2008 +0000 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Thu Jan 08 20:10:34 2009 +0000 |
tree | ff75cc5f48cf3d094ac65d27428b9f2fc176d2e0 | |
parent | 9fe5817f196054142b9a13ed78c73b76a29f2ea3 [diff] |
regulator: catch some registration errors Prevent registration of duplicate "struct regulator" names. They'd be unavailable, and clearly indicate something wrong. [Edited to remove check for NULL consumer device until we have a solution for things like cpufreq -- broonie] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>