From patchwork Tue Nov 8 05:08:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9416545 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 9424A60512 for ; Tue, 8 Nov 2016 05:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 851AB28B99 for ; Tue, 8 Nov 2016 05:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7933B28B9B; Tue, 8 Nov 2016 05:15:21 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 187D928B99 for ; Tue, 8 Nov 2016 05:15:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753160AbcKHFKI (ORCPT ); Tue, 8 Nov 2016 00:10:08 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36701 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753076AbcKHFKB (ORCPT ); Tue, 8 Nov 2016 00:10:01 -0500 Received: by mail-pf0-f195.google.com with SMTP id n85so18049718pfi.3; Mon, 07 Nov 2016 21:10:01 -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=AVFEntL+Oh6H63jvYbuNeNQf2HxOD8Cu6Dwsz66UM2g=; b=aOgk0Q6yW2vVwagENBe2NBJ2tFSupxkyFBcYhqbILaMERGD/bH1S9t9Z1YrvXonSax Z5cKJYeAULowaVu3U3E7fgZBVeOyytFFOhMoeeXvGVQE9lb1K426FIM1uPezFk4rWvsM OtAIwCySXD/nU0yTRmgp6H9AgZ50Vb1ntnY1usm3Nlgss5YuLd+ESqeuvEqqWJ1sm8K9 rJZkPrNyQXixDIKGZISwjR5/TeyrJde/9YTavd10eCTYNRU2WnP+y4emxyI1LPDIDbxD GNoIaiq0SxGH37xWTP7k0bROzQPlkYltjLOiJtL+muEfhhl9I2HqZHxZL7XOPIDvkW/l ZzAQ== 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=AVFEntL+Oh6H63jvYbuNeNQf2HxOD8Cu6Dwsz66UM2g=; b=J76nOZHZR1lYyqOIkEBrPMsaZGeBfW5hj024xraeGm1HiIs0s95R9seIjw4K4iZ/Oe e8BCix3eJ60+j74Cz2y09gBLnwKaMvrJ7ZLAMpzBrArR5nymacALR3486T+VPG9HSSNA F+nyr5Ca3m+bxl+Rri1q8lM/1vCHORfxX6zKU+IM63uDlCm9YwI1zSE3HZXyUzWrTTHB rg0yap2hzPH2AvmxAVbqCEq5BFH0O3DWGtFTuO1OwxrnJhsQH47Oqll7/N1HJ0DriJEk foY3CL+vDCHxQA3yBM33pMbK0Pnh9Z6GQ6mJB6xzu6tNUghfTOVN+1dFISHNNWR5ZPwh EBrA== X-Gm-Message-State: ABUngvccoxeDGKgLo0nWv+0r64e7mQmXWUPG1gDtnmHp4mDTF6qHPBMhlGoK8BWArvWcYw== X-Received: by 10.98.103.201 with SMTP id t70mr20007148pfj.99.1478581801071; Mon, 07 Nov 2016 21:10:01 -0800 (PST) Received: from localhost ([2601:647:4401:a2f0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id y73sm1862358pfa.68.2016.11.07.21.09.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 21:10:00 -0800 (PST) From: Eduardo Valentin To: Rui Zhang Cc: LKML , Linux PM , Eduardo Valentin Subject: [PATCHv2 11/49] thermal: core: fix style on remove_trip_attrs() Date: Mon, 7 Nov 2016 21:08:49 -0800 Message-Id: <1478581767-7009-12-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 Align to parentheses, removing checkpatch warning. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 122eba7..592c72b 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1900,7 +1900,7 @@ static void remove_trip_attrs(struct thermal_zone_device *tz) &tz->trip_temp_attrs[indx].attr); if (tz->ops->get_trip_hyst) device_remove_file(&tz->device, - &tz->trip_hyst_attrs[indx].attr); + &tz->trip_hyst_attrs[indx].attr); } kfree(tz->trip_type_attrs); kfree(tz->trip_temp_attrs);