Thread (3 messages) 3 messages, 2 authors, 2013-08-14

Re: [PATCH RESEND 0/8] use platform_{get,set}_drvdata()

From: Sergei Shtylyov <hidden>
Date: 2013-08-14 18:56:29
Also in: lkml, netdev

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help