Commit ea21f589 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Daniel Lezcano
Browse files

thermal: broadcom: simplify the return expression of bcm2711_thermal_probe()

parent 8639ff41
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -102,11 +102,7 @@ static int bcm2711_thermal_probe(struct platform_device *pdev)
	priv->thermal = thermal;

	thermal->tzp->no_hwmon = false;
	ret = thermal_add_hwmon_sysfs(thermal);
	if (ret)
		return ret;

	return 0;
	return thermal_add_hwmon_sysfs(thermal);
}

static struct platform_driver bcm2711_thermal_driver = {