]> git.karo-electronics.de Git - linux-beck.git/commitdiff
thermal: core: fix couple of style issues on __bind() helper
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:11 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
Removing style issues on __bind() and its helpers.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c

index bff2905ddbed4df9dad88ad2abb26e6d0c999a64..ebec7ce63abf917c559081a359a34acbcd82afd7 100644 (file)
@@ -287,16 +287,16 @@ static void thermal_unregister_governors(void)
 }
 
 static void print_bind_err_msg(struct thermal_zone_device *tz,
-                       struct thermal_cooling_device *cdev, int ret)
+                              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);
+               tz->type, cdev->type, ret);
 }
 
 static void __bind(struct thermal_zone_device *tz, int mask,
-                       struct thermal_cooling_device *cdev,
-                       unsigned long *limits,
-                       unsigned int weight)
+                  struct thermal_cooling_device *cdev,
+                  unsigned long *limits,
+                  unsigned int weight)
 {
        int i, ret;