hwmon: (sht15) Check return value of regulator_enable()
Not having power is a pretty serious error so check that we are able to enable the supply and error out if we can't. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org #3.8+; 3.0+ will need manual backport Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录