[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130503131908.GA3820@sirena.org.uk>
Date: Fri, 3 May 2013 14:19:08 +0100
From: Mark Brown <broonie@...nel.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Haojian Zhuang <haojian.zhuang@...aro.org>,
Milo Kim <milo.kim@...com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: Remove all platform_set_drvdata(pdev, NULL)
in drivers
On Fri, May 03, 2013 at 08:46:10PM +0800, Axel Lin wrote:
> Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound",
> this is done by driver core after device_release or on probe failure.
> Thus we can remove all platform_set_drvdata(pdev, NULL) in drivers.
Applied, but note that this is nothing to do with the above commit - it
has always been a bug for drivers to rely on drvdata except while bound
so any driver that relied on clearing it was buggy.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists