commit | be1a50d4eba4cdb3ebf9d97a0a8693c153436775 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sat Apr 03 17:37:45 2010 +0200 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Mon Apr 19 13:17:10 2010 +0100 |
tree | c4923c176186b9d1a596fd4274d05ddf8a5c2d49 | |
parent | 13bd8e4673d527a9e48f41956b11d391e7c2cfe0 [diff] |
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>