From: Thierry Reding <thierry.reding@gmail.com>
To: sumeet p <srplinux2008@gmail.com>
Cc: jonathanh@nvidia.com, linux-tegra@vger.kernel.org,
rui.zhang@intel.com, edubezval@gmail.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops
Date: Mon, 14 May 2018 14:55:27 +0200 [thread overview]
Message-ID: <20180514125527.GK18312@ulmo> (raw)
In-Reply-To: <1526147228-5317-1-git-send-email-srplinux2008@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Sat, May 12, 2018 at 11:17:08PM +0530, sumeet p wrote:
> Correct the typecast with const to struct thermal_cooling_device_ops.
> It is the last argument to the function thermal_of_cooling_device_register
> and this argument is of type const. So, declare this structure
> thermal_cooling_device_ops as constant.
>
> Signed-off-by: sumeet p <srplinux2008@gmail.com>
> ---
> Changes in V2:
> - Updated Signed-off-by with correct name.
>
> ---
> drivers/thermal/tegra/soctherm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2018-05-14 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-12 17:47 [PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops sumeet p
2018-05-14 12:55 ` Thierry Reding [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180514125527.GK18312@ulmo \
--to=thierry.reding@gmail.com \
--cc=edubezval@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=srplinux2008@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.