Tag: bd7081ae2bbd063fa4a29a01cb7004d8516e54e3

Thermal: Intel SoC: fix simple_return.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/thermal/intel_soc_dts_iosf.c:358:4-7: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Srinivas Pandruvada Signed-off-by: Fengguang Wu Signed-off-by: Zhang Rui — drivers/thermal/intel_soc_dts_iosf.c | 7 +—— 1 file changed, 1 insertion(+), 6 deletions(-)   diff –git a/drivers/thermal/intel_soc_dts_iosf.c b/drivers/thermal/intel_soc_dts_iosf.c index d897876..42e4b6a 100644 …

Continue reading