|
@@ -778,8 +778,9 @@ static struct class thermal_class = {
|
|
|
.dev_release = thermal_release,
|
|
|
};
|
|
|
|
|
|
-static void print_bind_err_msg(struct thermal_zone_device *tz,
|
|
|
- struct thermal_cooling_device *cdev, int ret)
|
|
|
+static inline
|
|
|
+void print_bind_err_msg(struct thermal_zone_device *tz,
|
|
|
+ struct thermal_cooling_device *cdev, int ret)
|
|
|
{
|
|
|
dev_err(&tz->device, "binding zone %s with cdev %s failed:%d\n",
|
|
|
tz->type, cdev->type, ret);
|