commit | 9e059bacecf1c46c1784cb6f6826f85629b4a1be | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Sun Aug 18 17:35:52 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Mon Aug 19 10:47:15 2013 +0100 |
tree | b81aac3ab2d0fead5797dc8d499c4ae8a2731053 | |
parent | 7d748971c0c04122cc7a06bc0573e27e106efe6a [diff] |
hwmon: (sht15) Use devm_regulator_get_optional() Since the sht15 driver supports operation without an external vref regulator the driver should use the new devm_regulator_get_optional() to indicate that a stub regulator should not be provided. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net>