Skip to content
Commit 9e059bac authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7d748971
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment