From patchwork Tue Nov 8 05:08:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9416529 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 61C3D60512 for ; Tue, 8 Nov 2016 05:14:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 511C928B99 for ; Tue, 8 Nov 2016 05:14:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4491E28B9B; Tue, 8 Nov 2016 05:14:29 +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=unavailable 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 EBBB328B99 for ; Tue, 8 Nov 2016 05:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245AbcKHFOO (ORCPT ); Tue, 8 Nov 2016 00:14:14 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35279 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932150AbcKHFKb (ORCPT ); Tue, 8 Nov 2016 00:10:31 -0500 Received: by mail-pf0-f193.google.com with SMTP id i88so18052734pfk.2; Mon, 07 Nov 2016 21:10:31 -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=A6s5XQpOKyJJDhplB8Nv3s+TBM3Sqrmq0wMVvbExiKM=; b=AI7up8y5cz3DO6GIlko2JHpaatIYFRyHDH+zJ0l6Z1hPuKc4/YOebpK9jD53GmRQyG j8WZX9WwObkPj0Kiv66Ms1plg1/CXm/fmYMbv0PLFq18/ecnt3KfQZAC2yHQ03MtQu1l vztYzj7cRhSgj6H4jP7L05VR7wdQ7qibHF8FyMrM/OQ+Do28Tza4zcGzVl7HI0bcwBz3 zFsibjRN6EmY6MM6464Q6EcoD5VTnFpldfb02gKY26lIxpbEcoSQyK/L19qvoKxSixXu g/LNhfRk5lUPjKqK09nrtiJ1axw7lLyxPHPAkYXK3MfMFwv2x0NvGszEvE3RIkRX2NEo M0+Q== 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=A6s5XQpOKyJJDhplB8Nv3s+TBM3Sqrmq0wMVvbExiKM=; b=EH7tZQ7d1Jz0NiK5CRUnlQd++pLvh8ALZdP29hTaXqz0q8EP1hNw6YODm0OZT1y0Ti Y5JN85nm9WNaiiJDVda0mc0wQePQOwq5tNozubP+m+ZBVcHcFXoKzIiUuo7i9KWe7E0M q1DLcKQrJyvEXZ4MPxeONUnSmwWS3NhUYNGp6nuAiHmsT2CI0tViQoRKbJE07n/R79MV TovX/52zVzi3foAwRZMpmMI6MMv8zXAPjNlz7gBo/MOAmfAGU6oxLoTQMubvqdiNokCi 1SEDxtLzPmwy11XL4ClR/5+OEL6AvXLoG5B843Zfw5eptupyNoYynIZDb3Js5gBP0Np+ PWew== X-Gm-Message-State: ABUngvemiesGlOVB2YJNOKyx0zDR9VqrbZP+v1YZZ5LXRPQOhxVuMziFJp9phFhprUbiOg== X-Received: by 10.99.3.202 with SMTP id 193mr16161304pgd.157.1478581831095; Mon, 07 Nov 2016 21:10:31 -0800 (PST) Received: from localhost ([2601:647:4401:a2f0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id k67sm44358921pfk.69.2016.11.07.21.10.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 21:10:30 -0800 (PST) From: Eduardo Valentin To: Rui Zhang Cc: LKML , Linux PM , Eduardo Valentin Subject: [PATCHv2 21/49] thermal: core: match parenthesis on code alignment Date: Mon, 7 Nov 2016 21:08:59 -0800 Message-Id: <1478581767-7009-22-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 Cosmetic change in the sysfs handling functions, as recommended by checkpatch.pl. 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 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index e2c4fc4..f66c19c 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -897,7 +897,7 @@ trip_point_type_show(struct device *dev, struct device_attribute *attr, static ssize_t trip_point_temp_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) + const char *buf, size_t count) { struct thermal_zone_device *tz = to_thermal_zone(dev); int trip, ret; @@ -945,7 +945,7 @@ trip_point_temp_show(struct device *dev, struct device_attribute *attr, static ssize_t trip_point_hyst_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) + const char *buf, size_t count) { struct thermal_zone_device *tz = to_thermal_zone(dev); int trip, ret; @@ -975,7 +975,7 @@ trip_point_hyst_store(struct device *dev, struct device_attribute *attr, static ssize_t trip_point_hyst_show(struct device *dev, struct device_attribute *attr, - char *buf) + char *buf) { struct thermal_zone_device *tz = to_thermal_zone(dev); int trip, ret; @@ -994,7 +994,7 @@ trip_point_hyst_show(struct device *dev, struct device_attribute *attr, static ssize_t passive_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) + const char *buf, size_t count) { struct thermal_zone_device *tz = to_thermal_zone(dev); int state; @@ -1028,7 +1028,7 @@ passive_store(struct device *dev, struct device_attribute *attr, static ssize_t passive_show(struct device *dev, struct device_attribute *attr, - char *buf) + char *buf) { struct thermal_zone_device *tz = to_thermal_zone(dev); @@ -1037,7 +1037,7 @@ passive_show(struct device *dev, struct device_attribute *attr, static ssize_t policy_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) + const char *buf, size_t count) { struct thermal_zone_device *tz = to_thermal_zone(dev); char name[THERMAL_NAME_LENGTH]; @@ -1069,7 +1069,7 @@ available_policies_show(struct device *dev, struct device_attribute *devattr, static ssize_t emul_temp_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) + const char *buf, size_t count) { struct thermal_zone_device *tz = to_thermal_zone(dev); int ret = 0;