From patchwork Tue Nov 8 05:09:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9416469 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 2CAF960512 for ; Tue, 8 Nov 2016 05:11:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E0A228B7E for ; Tue, 8 Nov 2016 05:11:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FEAA28B87; Tue, 8 Nov 2016 05:11:10 +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 AA73F28B7E for ; Tue, 8 Nov 2016 05:11:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932219AbcKHFK4 (ORCPT ); Tue, 8 Nov 2016 00:10:56 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35391 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932373AbcKHFKw (ORCPT ); Tue, 8 Nov 2016 00:10:52 -0500 Received: by mail-pf0-f193.google.com with SMTP id i88so18053582pfk.2; Mon, 07 Nov 2016 21:10:52 -0800 (PST) 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=am7hTX+2bGD0QrPw1+4StWGAO5bowsRDRgl4quxCAtM=; b=dMwk/tlPD9/4R0iw2HTA2zjRos787mWHzm4yDJ8aLmOaM3wrp1d9u8mqncOGw6cSFm NzHDEAWDb0Co28DPG5s3XkXbxgQ8SECdDKIpD0YaBtc+fp0MFz8I4uyeppFVMlHLYahL ca6GGx1o6ztZ3beD3aCGJ3K102PoRX7lbLOUzyjudwZSxTsXiSGoYiQC5omJxjYQR+fF wVxCJZkktp/i0UJFsa50O2Kc5mAvRH+szyIlswDBlUEYtxumDDFK4BaDFSSvD0Z8EX81 e5Mzm9Kvu2khmWZ8u5cf4uWtH9ACLZEum3eiy+/zxWXrzy+YfafTEO1XUu/dY4D5YSmw ZdFQ== 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=am7hTX+2bGD0QrPw1+4StWGAO5bowsRDRgl4quxCAtM=; b=Ozc+Wnha7kp6FiJk4ORXsRlhUHIStTtaLfI7L1b1tFnAYCgPD1L7ccIZmJVDC3Aqh/ VWpfFmaQli11S+xL8DHAzRRJdla2rgFROlRFaP9tpd8Js4i1LB90v6qeIudz76fkeHH2 FWoXdawol7qEzgXGETH+iiYuZk6BRwbPvqE/7XH+T10Uj0jryZJgEACSPnfLzWVRH3Vj irInIK6TGSOfy3XpFLRk1OYrLJhsGMjAF+tRaqGDSxW3Xb/GzzWGGqcdOmx93d6SzW09 2emsOGUSXgtp3HJ9MhhvJMuUy58+IfaVlNpcHo0vhwwrXhqRTbssFjyFRfjMAUzDheN6 KAxQ== X-Gm-Message-State: ABUngvdXymHPMoqHZ3KkhE66x+HgZup53Xx7V8FDI5V+47Pt4+xP56fj20CZSQXrX2VS0A== X-Received: by 10.99.181.10 with SMTP id y10mr16123933pge.161.1478581852322; Mon, 07 Nov 2016 21:10:52 -0800 (PST) Received: from localhost ([2601:647:4401:a2f0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id p25sm38122956pfk.20.2016.11.07.21.10.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 21:10:51 -0800 (PST) From: Eduardo Valentin To: Rui Zhang Cc: LKML , Linux PM , Eduardo Valentin Subject: [PATCHv2 33/49] thermal: core: fix couple of style issues on __bind() helper Date: Mon, 7 Nov 2016 21:09:11 -0800 Message-Id: <1478581767-7009-34-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478581767-7009-1-git-send-email-edubezval@gmail.com> References: <1478581767-7009-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 bff2905..ebec7ce 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;