From patchwork Tue May 31 06:18:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9143429 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6E4F460761 for ; Tue, 31 May 2016 06:23:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6314A28187 for ; Tue, 31 May 2016 06:23:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 581CA28213; Tue, 31 May 2016 06:23:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E50F328187 for ; Tue, 31 May 2016 06:23:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751770AbcEaGUa (ORCPT ); Tue, 31 May 2016 02:20:30 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:34308 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161703AbcEaGU0 (ORCPT ); Tue, 31 May 2016 02:20:26 -0400 Received: by mail-pa0-f66.google.com with SMTP id x1so7387675pav.1; Mon, 30 May 2016 23:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YIboEZb5XfX+4FTBIm/MJtAoUwTm9UCJGX86/HDx9MA=; b=Pi2f/zJI0yyxCz2wK5qpzTF/yjUD3JSmEvzn9PV4Thrdeh2/IzRi1/GULvIrByv1rw OiTU6XB7ew97tMcN6Ia1Z3i1FiM8kxx8xD9n+xkSS7ecD0ADe4gS+u3tcRZP3peDXXSJ kEJkTXbxcf2GYnkLxwe5UIloir0Uyiih6/UFJQ/YrJDepBI0ONiBuAyIg5j032u/kaVC K5tYynFyxblLjGwDgXw4rF9tiOU5d216aK+KDyIsLQoeOk/C3noUKqM31TH2rG2SeXHv ACu2C72YKE7ARlcmUCALD0VZeur85IYQTRoLEybISNSp0Ud4atX74rNi5yq4+9p69TSt FTfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YIboEZb5XfX+4FTBIm/MJtAoUwTm9UCJGX86/HDx9MA=; b=kq86dkXVgG42RrLGyp/9g5X0W1ffbYGNlEOUUNKlfSA5gPGSTiuGHgXMUPdoIVib9c 3gP5vyrN/odWmLflNJrjUijTQVJ0hyYnBDh243AOqTlvBmxgCje/Y7BybcFTICA9YbtN iIsKNZVoTr4KeicTOEFkeRlzWtYv8T+TVpIvRtrdXrIJljexrn/n21FYSsgJOT2of8gV L29mQYCjyd5INjj4iBghQt1l6Ib9s1tMY9g2Cw/3w1eKAezGzh0NezV6DLaup0PsruHB Tm9JvX4xvkOTCf3OxWSJsvyUoyJMYP+c5NSAQ5QpyBn0FiLJsWNRsefNtmtRwNeYGdBt VvOA== X-Gm-Message-State: ALyK8tJhAz/+79bBsLCpVNV2KtScNZOj4ByAztw3O+yPwKIRwvh4pGXXp+7Pl6Rp9SXI8Q== X-Received: by 10.66.170.168 with SMTP id an8mr52412585pac.47.1464675625298; Mon, 30 May 2016 23:20:25 -0700 (PDT) Received: from localhost ([2601:b00:c501:3660:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id hw10sm51715139pac.15.2016.05.30.23.20.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 May 2016 23:20:24 -0700 (PDT) From: Eduardo Valentin To: Rui Zhang Cc: Linux PM , LKML , Keerthy , Eduardo Valentin Subject: [PATCHv4 33/48] thermal: core: fix couple of style issues on __bind() helper Date: Mon, 30 May 2016 23:18:40 -0700 Message-Id: <1464675535-2433-34-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1464675535-2433-1-git-send-email-edubezval@gmail.com> References: <1464675535-2433-1-git-send-email-edubezval@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Removing style issues on __bind() and its helpers. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- 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;