diff options
author | 2008-12-31 12:54:19 +0000 | |
---|---|---|
committer | 2009-01-08 20:10:34 +0000 | |
commit | 6001e13c5f708eb68c744a69df3c2c281156030d (patch) | |
tree | ff75cc5f48cf3d094ac65d27428b9f2fc176d2e0 /fs/jbd2/commit.c | |
parent | regulator: Add basic DocBook manual (diff) | |
download | linux-dev-6001e13c5f708eb68c744a69df3c2c281156030d.tar.xz linux-dev-6001e13c5f708eb68c744a69df3c2c281156030d.zip |
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions