[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ADE657CA350FB648AAC2C43247A983F0021D46AC8645@AUSP01VMBX24.collaborationhost.net>
Date: Mon, 13 May 2013 19:49:56 -0500
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Jingoo Han <jg1.han@...sung.com>,
"'David S. Miller'" <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH 11/36] net: ethernet: cirrus: remove unnecessary
platform_set_drvdata()
On Monday, May 06, 2013 9:27 PM, Jingoo Han wrote:
> 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>
> ---
> drivers/net/ethernet/cirrus/ep93xx_eth.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
Reviewed-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
--
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