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: NMark Brown <broonie@linaro.org> Acked-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录