[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130114025145.GC4928@sirena.org.uk>
Date: Mon, 14 Jan 2013 02:51:45 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: spi-devel-general@...ts.sourceforge.net,
Grant Likely <grant.likely@...retlab.ca>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: erase pointer to drvdata on removal
On Thu, Nov 01, 2012 at 02:05:36PM -0400, Vivien Didelot wrote:
> As for i2c-core, let the SPI core handle the removal of the device's
> drvdata, after a remove() or a probe() failure.
Any driver that notices this change is buggy, the driver shouldn't
use a drvdata value that it didn't set. I had thought this stuff had
all been removed from I2C and either dropped or factored out into the
driver core...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists