Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b67eed8e authored by Kevin Hilman's avatar Kevin Hilman
Browse files

thermal: exynos: fix compile error in _zone_bind_cooling_device()



commit (6cd9e9f629f1 thermal: of: fix cooling device weights in device
tree) changed the prototype of thermal_zone_bind_cooling_device() but
did not fix up all the users.   This patch fixes up the exynos driver.

LSK Note: This patch is LSK specific because the upstream version of
the driver was later removed after being migrated to of-thermal.

Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent 5d8b90e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static int exynos_bind(struct thermal_zone_device *thermal,
		case MONITOR_ZONE:
		case WARN_ZONE:
			if (thermal_zone_bind_cooling_device(thermal, i, cdev,
								level, 0)) {
							     level, 0, THERMAL_WEIGHT_DEFAULT)) {
				dev_err(data->dev,
					"error unbinding cdev inst=%d\n", i);
				ret = -EINVAL;