[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130527.223649.1171764029650198407.davem@davemloft.net>
Date: Mon, 27 May 2013 22:36:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jg1.han@...sung.com
Cc: netdev@...r.kernel.org, nicolas.ferre@...el.com,
rob.herring@...xeda.com, stigge@...com.de, mugunthanvnm@...com,
hsweeten@...ionengravers.com
Subject: Re: [PATCH V2 1/4] net: ethernet: remove unnecessary
platform_set_drvdata()
From: Jingoo Han <jg1.han@...sung.com>
Date: Tue, 28 May 2013 14:01:12 +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>
> Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
> Acked-by: Rob Herring <rob.herring@...xeda.com>
> Acked-by: Roland Stigge <stigge@...com.de>
> Acked-by: Mugunthan V N <mugunthanvnm@...com>
> Reviewed-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
> Tested-by: Roland Stigge <stigge@...com.de>
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