Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4928162imd; Tue, 30 Oct 2018 09:23:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5ddAO+n3oqMPs+2HRgfsx+N8ugN6P3D1to7KUYc7HwPkKRsD6waUbxHJgXppLoXMOJWfF9q X-Received: by 2002:a63:f006:: with SMTP id k6mr14939465pgh.259.1540916617415; Tue, 30 Oct 2018 09:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540916617; cv=none; d=google.com; s=arc-20160816; b=F3+GTilcWHMNkEQqe/2DhoEkThARlVdG6vuKExO5n6h5sOB5odiTVAPobtSU89a9xA jI+slVxmGoNXMxxTSdrAoLHDChra6VYlr7NP4BJerFeG965h+3LKl6fDlT/UgoOvrPQv XZE7e64ul4JyDUeLdgj+uC0ss82B8jE5eO5B/v5ZoQOJxFGV1VRf0pGenTcaNgjOszUA 1uTPzTE5dk1BNgsoE5eHlvl5kCKwYhMuhn+2t7l5AgLGzY9lwRRX8TliGhxLtxwBzdnH KMcMV2KXVtC7zR8pBCukqO9tMNLpr7ZZC5tEhALJo3WAmW3xPb6D0vl3d91N4Opsfvxb rMug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ruAu2s3XI3wC9qVttcspc//rcQncDe3bvOsBtuKXO2A=; b=vGQLLq0S/D4Mox7jczXzDbjQ/0NbGCTk1pOo2On/qF5PS6vGH6/vFMjKxBd/mPnd+J zGKeWDvK1CAGZ+UbcxGC3XaXL3Gb/WSqGm/8d7EDvJGEu7DSl1bBa3yhd31/sh/ivOhn zWpZOkh8nnnEe3MIXgRxmLIJ3/37uqPpn3r2mjpCTBGAgvKNPt45Bb/t4fXK5HsgzlM3 eAoxRrVp9YGLReTRexw7GWBxIPJKg3QzzgykYoqblRag4rP84Hf7UcmwYPwYGEUIB20e WQKyLjxT2Tagh5r21ewHGWb6xjEBCFZKKZyO6aqIH9rKgTr3SwFKnwhQa1fHjynmbcuO svew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZRelWKgh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14-v6si19025810pgi.5.2018.10.30.09.23.20; Tue, 30 Oct 2018 09:23:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ZRelWKgh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727339AbeJaBO4 (ORCPT + 99 others); Tue, 30 Oct 2018 21:14:56 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41947 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbeJaBO4 (ORCPT ); Tue, 30 Oct 2018 21:14:56 -0400 Received: by mail-wr1-f67.google.com with SMTP id x12-v6so13270947wrw.8 for ; Tue, 30 Oct 2018 09:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ruAu2s3XI3wC9qVttcspc//rcQncDe3bvOsBtuKXO2A=; b=ZRelWKghgOiU/5Mz2NrcdikDsgCMehbYDd84og5plBR/df782uN9+UgxhRVX5sr3ev l5ZhzAhXXO6EtcXif1TIGv6wB6qvGtuu6xHs1VfkQHpo4uuiB/oh0jCuGM4zv8MK+R0a 11DMePWPjCToge95BIHZIrlF4FSa4wZEsXecY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ruAu2s3XI3wC9qVttcspc//rcQncDe3bvOsBtuKXO2A=; b=BpTozu9DoRp5aThZakoZW/UC31AIgNee/KXXz25/784i2Z5RSdDRNRS882WCA+JrRg A26RQ7IbVrgq1QsJVCTeLL8ywtPTvWbiJTbW8VtKPxEBlL3fzN2gnSLVlA9RYc5QIJK3 WniTWX7BVQqPAhvZzJHw2u5/p+2Z5NYrzVDVTJ0T61uSqDNuZpTFuiV0oho14xCLAMyT aXVSCg87hxyC6QvMSWGRfvaAd2O5yxl5Hk+0iHKYNt4rvJuoXqfk6XjwBWbV4R4YkKKW xOQ1x4p7iAdMVAKBIlfiC4l+v7ehp0ZTP82IL/GyskH2t22Bt7bszaVD/vxAznJg6cwy 2New== X-Gm-Message-State: AGRZ1gJog+gkM9jGIWcs7uDeL0wPzfZOmom/ETW3MqL7MSDbmQ83Nx4w 2ugwhQ3ljzUlA9SU/FoLukyugIZPpjQ= X-Received: by 2002:adf:c389:: with SMTP id p9-v6mr19834105wrf.68.1540916446238; Tue, 30 Oct 2018 09:20:46 -0700 (PDT) Received: from [192.168.0.40] (12.152.88.92.rev.sfr.net. [92.88.152.12]) by smtp.googlemail.com with ESMTPSA id t143-v6sm13882771wmt.2.2018.10.30.09.20.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 09:20:44 -0700 (PDT) Subject: Re: [PATCH 1/2] thermal: armada: constify thermal_zone_of_device_ops structure To: Julia Lawall , Zhang Rui Cc: kernel-janitors@vger.kernel.org, Eduardo Valentin , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1540912500-21941-1-git-send-email-Julia.Lawall@lip6.fr> <1540912500-21941-2-git-send-email-Julia.Lawall@lip6.fr> From: Daniel Lezcano Message-ID: Date: Tue, 30 Oct 2018 17:20:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1540912500-21941-2-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/10/2018 16:14, Julia Lawall wrote: > The thermal_zone_of_device_ops structure can be const as it is only > passed as the last argument of devm_thermal_zone_of_sensor_register > and the corresponding parameter is declared as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/thermal/armada_thermal.c | 2 +- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog