linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Andrei Coardos <aboutphysycs@gmail.com>,
	linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org
Cc: samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org,
	rui.zhang@intel.com, amitk@kernel.org, rafael@kernel.org,
	tiny.windzz@gmail.com, anarsoul@gmail.com, alex@shruggie.ro
Subject: Re: [PATCH] thermal: sun8i_thermal: remove unneeded call to platform_set_drvdata()
Date: Wed, 16 Aug 2023 12:32:44 +0200	[thread overview]
Message-ID: <87248920-c5d6-1ab7-db87-f0dc34b787ec@linaro.org> (raw)
In-Reply-To: <20230811194032.4240-1-aboutphysycs@gmail.com>

On 11/08/2023 21:40, Andrei Coardos wrote:
> This function call was found to be unnecessary as there is no equivalent
> platform_get_drvdata() call to access the private data of the driver. Also,
> the private data is defined in this driver, so there is no risk of it being
> accessed outside of this driver file.
> 
> Signed-off-by: Andrei Coardos <aboutphysycs@gmail.com>
> ---

Applied, thanks

Are you checking neither dev_get_drvdata is used ?


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


      parent reply	other threads:[~2023-08-16 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 19:40 [PATCH] thermal: sun8i_thermal: remove unneeded call to platform_set_drvdata() Andrei Coardos
2023-08-13 15:32 ` Jernej Škrabec
2023-08-13 18:58   ` Alexandru Ardelean
2023-08-16 10:32 ` Daniel Lezcano [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=87248920-c5d6-1ab7-db87-f0dc34b787ec@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=aboutphysycs@gmail.com \
    --cc=alex@shruggie.ro \
    --cc=amitk@kernel.org \
    --cc=anarsoul@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=samuel@sholland.org \
    --cc=tiny.windzz@gmail.com \
    --cc=wens@csie.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).