regulator: Return proper error for regulator_register()
authorAxel Lin <axel.lin@gmail.com>
Fri, 5 Nov 2010 07:27:17 +0000 (15:27 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 30 Nov 2010 15:13:25 +0000 (15:13 +0000)
commit7727da22e820a96ab394db2fc0ab58f7f7ecb323
tree4011058b68ad1ba9d39875a27b94ad7180566bee
parente36c1df8e18183ba2c691fe766a52c94020cdc5e
regulator: Return proper error for regulator_register()

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c