From: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
To: Libo Chen <clbchenlibo.chen@huawei•com>
Cc: David Miller <davem@davemloft•net>,
netdev@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
Li Zefan <lizefan@huawei•com>,
leoli@freescale•com, linuxppc-dev@lists•ozlabs.org,
pantelis.antoniou@gmail•com, vbordug@ru•mvista.com,
Greg KH <gregkh@linuxfoundation•org>,
jg1.han@samsung•com
Subject: Re: [PATCH RESEND 0/8] use platform_{get,set}_drvdata()
Date: Wed, 14 Aug 2013 22:56:35 +0400 [thread overview]
Message-ID: <520BD2E3.9080606@cogentembedded.com> (raw)
In-Reply-To: <520AFB3F.2090006@huawei.com>
On 08/14/2013 07:36 AM, Libo Chen wrote:
> We can use the wrapper functions platform_{get,set}_drvdata() instead of
> dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user.
>
> Also, unnecessary dev_set_drvdata() is removed, because the driver core
> clears the driver data to NULL after device_release or on probe failure.
Saying "also" in the changelog is usually a good sign that the patch
should be split.
WBR, Sergei
prev parent reply other threads:[~2013-08-14 18:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-12 13:24 use platform_{get,set}_drvdata() Libo Chen
2013-08-14 3:36 ` [PATCH RESEND 0/8] " Libo Chen
2013-08-14 18:56 ` Sergei Shtylyov [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=520BD2E3.9080606@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded$(echo .)com \
--cc=clbchenlibo.chen@huawei$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=jg1.han@samsung$(echo .)com \
--cc=leoli@freescale$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=lizefan@huawei$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pantelis.antoniou@gmail$(echo .)com \
--cc=vbordug@ru$(echo .)mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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