[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <u4nefe4cj.wl%kuninori.morimoto.gx@renesas.com>
Date: Tue, 07 May 2013 14:39:08 +0900
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Jingoo Han <jg1.han@...sung.com>
Cc: "'David S. Miller'" <davem@...emloft.net>, netdev@...r.kernel.org,
Samuel Ortiz <samuel@...tiz.org>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Subject: Re: [PATCH 36/36] net: irda: sh_sir: remove unnecessary
platform_set_drvdata()
Hi
> 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: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Best regards
--
Kuninori Morimoto
--
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