From patchwork Tue Oct 16 14:56:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 10643743 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-2.web.codeaurora.org (Postfix) with ESMTP id 77DB417D4 for ; Tue, 16 Oct 2018 14:58:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65BCD29119 for ; Tue, 16 Oct 2018 14:58:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 593F329EFF; Tue, 16 Oct 2018 14:58:07 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 00B8729119 for ; Tue, 16 Oct 2018 14:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727163AbeJPWrd (ORCPT ); Tue, 16 Oct 2018 18:47:33 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39227 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbeJPWrc (ORCPT ); Tue, 16 Oct 2018 18:47:32 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181016145641euoutp0202d8790c0eddc054e2efdda5573e7748~eHqGLbc8i0316303163euoutp02j for ; Tue, 16 Oct 2018 14:56:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181016145641euoutp0202d8790c0eddc054e2efdda5573e7748~eHqGLbc8i0316303163euoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539701801; bh=rzIY2soOD1M1UDKrc+X0WCeYTqj8P76+NMfULbIsJ2U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PTNnIF58IJnjSRSzGNNCPwbFv+TUW5KygfYRjiYWlLzIvNmSsuX1nLUcnzr5FXTkR N2YvUZEYLsEQifDWYFXW2EOnbFaLaqXpfC51/hfdSrxi1JJVxif0hhnRp/8UazfayJ 5rtfFvRZ1JY8s/G6ec/XMMUny4RQdWBePEoVTwMU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181016145640eucas1p162bf0e36a8d7db602c3d928789ee413e~eHqFbtohL2235322353eucas1p1w; Tue, 16 Oct 2018 14:56:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 0C.21.04806.82CF5CB5; Tue, 16 Oct 2018 15:56:40 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de~eHqEkMsUc2218322183eucas1p19; Tue, 16 Oct 2018 14:56:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181016145639eusmtrp165f659ddab39bdb22db15bef7fecbfd1~eHqEVGxf61176711767eusmtrp1r; Tue, 16 Oct 2018 14:56:39 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-74-5bc5fc2822e1 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A9.D9.04284.72CF5CB5; Tue, 16 Oct 2018 15:56:39 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181016145639eusmtip2f891a136be7dc57e6b00280b180c6454~eHqDz4e8d2832928329eusmtip2K; Tue, 16 Oct 2018 14:56:39 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, b.zolnierkie@samsung.com, Lukasz Luba Subject: [PATCH 01/11] thermal: remove unused function parameter Date: Tue, 16 Oct 2018 16:56:12 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539701782-26852-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSa0hTYRiA+Xa2s7PR9HSU/PAaC1OTZmLSgVIMgw74o/oRRAq19KSS22xH l2bRfui8YJqK5nUqmpPhBc1MRU2dOsW8dZlTC4k0S9GkaaVI5Tyr/j3v814/+DCEaOQ5Y7Hy BFopl8aJUSG3fXh78rj37lD4ibItX7KluJlHLvalA1JrcSMrByd4ZOUbE4+cU7uSrR/3oFpT yyVfd5WjpOXhICCfzExzyLSeQT65+CEHDRFRDdoGQHWWvudTNd1fOFSrPhOl3pm6Uepp7QOq JqeAR/Wvd3OonDY9oCyt7heFV4Vnoui4WBWt9Au+Loyp0Nbx45eESU3arxw1SBVkAQEG8ZNQ U6xBs4AQI/B6ABcaSgAbbAL4TVdkCywA7vTp+FkA22/pmiZYrwPQULqB/utYa57mWYtQXAI7 9Let3hEvA9DSW8O3Bgg+CuCcrp1jXe6Ah8Dvb9cRK3NxT/jis57PHuUOZycy970AD4Nz5iqE 9b18+Ox5spVFuAr26DQc1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itzDzFKcDArifCmXzoaLcSbklhZlVqUH19UmpNafIjRFOimicxSosn5wKjNK4k3NDU0t7A0 NDc2NzazUBLnPW9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXA6H9k99fDdnI/3zVdurLkG/unvmcX vzqzJjKK+elcvGRV+5xlw8+oKd8kLteVPgyWWhqXNUvF8Ev4pbhj92Tz5r4PmcZgcfnp/C+Z YZ+05h5vWe9S3RAo3mz94k2B9/p1TB2zWrTPVnWW1wSHTl/UcjvQJZnxvf+D3SG+GddTE48U Gkx6bVgkosRSnJFoqMVcVJwIAPcXyrCiAgAA Message-Id: <20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de~eHqEkMsUc2218322183eucas1p19@eucas1p1.samsung.com> X-CMS-MailID: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de X-Msg-Generator: CA X-RootMTR: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de References: <1539701782-26852-1-git-send-email-l.luba@partner.samsung.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 Clean unused parameter from internal framework function. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Daniel Lezcano Signed-off-by: Lukasz Luba --- drivers/thermal/thermal_core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 6ab9823..2c6d72a 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -313,9 +313,7 @@ static void monitor_thermal_zone(struct thermal_zone_device *tz) mutex_unlock(&tz->lock); } -static void handle_non_critical_trips(struct thermal_zone_device *tz, - int trip, - enum thermal_trip_type trip_type) +static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) { tz->governor ? tz->governor->throttle(tz, trip) : def_governor->throttle(tz, trip); @@ -416,7 +414,7 @@ static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) if (type == THERMAL_TRIP_CRITICAL || type == THERMAL_TRIP_HOT) handle_critical_trips(tz, trip, type); else - handle_non_critical_trips(tz, trip, type); + handle_non_critical_trips(tz, trip); /* * Alright, we handled this trip successfully. * So, start monitoring again.