lkml.org 
[lkml]   [2016]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv3 33/48] thermal: core: fix couple of style issues on __bind() helper
    Date
    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>
    ---
    drivers/thermal/thermal_core.c | 10 +++++-----
    1 file changed, 5 insertions(+), 5 deletions(-)

    diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
    index b71f4ea..59fe92d 100644
    --- a/drivers/thermal/thermal_core.c
    +++ b/drivers/thermal/thermal_core.c
    @@ -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;

    --
    2.1.4
    \
     
     \ /
      Last update: 2016-05-31 00:41    [W:4.204 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site