[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 27 May 2013 22:40:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jg1.han@...sung.com
Cc: netdev@...r.kernel.org, khc@...waw.pl
Subject: Re: [PATCH V2 4/4] net: wan: remove unnecessary
platform_set_drvdata()
From: Jingoo Han <jg1.han@...sung.com>
Date: Tue, 28 May 2013 14:08:17 +0900
> The driver core clears the driver data to NULL after device_release
> or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
> (device-core: Ensure drvdata = NULL when no driver is bound).
> Thus, it is not needed to manually clear the device driver data to NULL.
>
> Signed-off-by: Jingoo Han <jg1.han@...sung.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists