diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-04-03 17:37:45 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-04-19 13:17:10 +0100 |
commit | be1a50d4eba4cdb3ebf9d97a0a8693c153436775 (patch) | |
tree | c4923c176186b9d1a596fd4274d05ddf8a5c2d49 /drivers/regulator/mc13783-regulator.c | |
parent | 13bd8e4673d527a9e48f41956b11d391e7c2cfe0 (diff) | |
download | linux-be1a50d4eba4cdb3ebf9d97a0a8693c153436775.tar.gz linux-be1a50d4eba4cdb3ebf9d97a0a8693c153436775.tar.bz2 linux-be1a50d4eba4cdb3ebf9d97a0a8693c153436775.zip |
regulator: Let drivers know when they use the stub API
Have the stub variant of regulator_get() return NULL, so that drivers
can (but still don't have to) handle this case specifically.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Jerome Oufella <jerome.oufella@savoirfairelinux.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
0 files changed, 0 insertions, 0 deletions