hwmon: (sht15) Use devm_regulator_get_optional()
authorMark Brown <broonie@linaro.org>
Sun, 18 Aug 2013 16:35:52 +0000 (17:35 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 19 Aug 2013 09:47:15 +0000 (10:47 +0100)
commit9e059bacecf1c46c1784cb6f6826f85629b4a1be
treeb81aac3ab2d0fead5797dc8d499c4ae8a2731053
parent7d748971c0c04122cc7a06bc0573e27e106efe6a
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>
drivers/hwmon/sht15.c
This page took 0.025279 seconds and 5 git commands to generate.