From: Mark Brown Date: Sun, 18 Aug 2013 16:35:52 +0000 (+0100) Subject: hwmon: (sht15) Use devm_regulator_get_optional() X-Git-Tag: v3.12-rc1~191^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e059bacecf1c46c1784cb6f6826f85629b4a1be;p=pandora-kernel.git 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 Acked-by: Guenter Roeck --- Reading git-diff-tree failed