-
由 Viresh Kumar 提交于
In power_supply_show_property() routine, we call ->get_property() conditionally and should check for failure in that case only. There is no point comparing 'ret' for errors when 'ret' is surely zero. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NSebastian Reichel <sre@kernel.org>
73b4a087