From patchwork Tue Oct 30 15:14:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 10661295 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 AF9A814E2 for ; Tue, 30 Oct 2018 16:28:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 966EB2A612 for ; Tue, 30 Oct 2018 16:28:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A7AB2A614; Tue, 30 Oct 2018 16:28:46 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 51AC62A612 for ; Tue, 30 Oct 2018 16:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=BMGXSbKin+wXj6QfgPpc2cdetoilqHlmX4cm4c2Kjdo=; b=XWq QEpvPtIPrxCaHifIqeXmtxKMjp8T+2fZk1UKspz3UW6z4t1ifkXCp8R4fRibaT8U0lNki7MjIyETl 4mw/j1rLQBwFNBJdvyDhtsm/Q53N4wXBkex5wm+z2v8F1V/jduzXTXv/HqdtGVeBMM3BRSwb+HwkN 1ykcMD6P1EXUz58EnMgOg0RbJ1K5I+sF0tIlpOrWaQS5+aQqpQdqSkIeFohUKjdPFXwKpFgfu50mn nTbImNEHYgR26dOW6OED++c7/aDrH5rjkUdQEO2riWkrbi0dQZhkBpzx08o38heEL/1Jz8HFWHbzI ogesyZ+6MTviqqeb1Mh1y8MApJYt3WQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWsm-0000Pn-R8; Tue, 30 Oct 2018 16:28:44 +0000 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWHs-0006rY-W9 for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2018 15:50:39 +0000 X-IronPort-AV: E=Sophos;i="5.54,445,1534802400"; d="scan'208";a="283843923" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA256; 30 Oct 2018 16:50:19 +0100 From: Julia Lawall To: Zhang Rui Subject: [PATCH 0/2] constify thermal_zone_of_device_ops structures Date: Tue, 30 Oct 2018 16:14:58 +0100 Message-Id: <1540912500-21941-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_085037_342619_A72581AF X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pm@vger.kernel.org, Daniel Lezcano , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Eduardo Valentin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The thermal_zone_of_device_ops structures can be const as they are only passed as the last argument of a thermal_zone_of_sensor_register function and the corresponding parameter is declared as const. Done with the help of Coccinelle. --- drivers/thermal/armada_thermal.c | 2 +- drivers/thermal/broadcom/brcmstb_thermal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)