Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4890371imd; Tue, 30 Oct 2018 08:52:48 -0700 (PDT) X-Google-Smtp-Source: AJdET5fM0Hu550jYQum5y5Fshn4mGl0h5nXCygik8K7tCth6spJpeOUZHGtHm4ZIUKBajkM+Jrox X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr19195255pla.164.1540914768526; Tue, 30 Oct 2018 08:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540914768; cv=none; d=google.com; s=arc-20160816; b=u10dRxInYzu8X+gADHe6IBAY1oGD5QrirkJDt8FnT1uQMn+WMtGU/PrM22uK9QSslg cLikBC5PfDpwStxynxwDA0n/hYu7AUP9i6/9+3ognzxBdsxDYsC3ox5d34xqD7+I24LQ ai6E1no2tuaEUEpcK1HI0BKLxDZObBids5WbSTtJ1BTMHV1NEVU55snBcw7JZ75QCVgp 2QpedT1C6H1flATt2SU6qdPfUpZvwtkwaZCvFv7AZzpcXueVWEIJPO7LHLcV3rXMq/R7 HGl/EXqov2gLWGRdikAX680w3YDuDFBQaMDDaPr5aNOo/rM3pd4Xn3IPone1Hrnm/YZ2 kgjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=cnNJInEu4TPmDMWEzQkykFX6jFdq23Ldpx3wWtuK2kU=; b=JpbwVaj8w0y5DJkEJM/oVxUDM7zuP6bmxJGSMESMqeQIxOKAkfY4QfMXalW9b5LiQs vl+ReR12aXZEK2GfFFLMWwmdcgbE9+/RVS4d//l0xh8uFegIlF4cCuWfD4964C90Sq7s 7GLOofNqf4aBVO204ENhywHsD8eH8BJlMUVXJ850yOnirnxnYDlg4/Agh1WfEBg82862 RylwG2IaiOpkVlEnHSqYqESVSP0O8rgpnTd+7Mp+Ax4L16x5Pr9nfBKfFz7B+89YcTA/ oraTTjh2WznablyHWmvMNKLVtgBTTjoZEiVuyoN+8eaIrsueoo6gAhJAXOKI2e/Trdf5 p1pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11-v6si22698629pgs.179.2018.10.30.08.52.33; Tue, 30 Oct 2018 08:52:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727693AbeJaAoW (ORCPT + 99 others); Tue, 30 Oct 2018 20:44:22 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27671 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727637AbeJaAoW (ORCPT ); Tue, 30 Oct 2018 20:44:22 -0400 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 Cc: kernel-janitors@vger.kernel.org, Eduardo Valentin , Daniel Lezcano , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)