Re: [PATCH] driver core: Make sure device detached from driver before deleting it
From: Greg Kroah-Hartman
Date: Wed Oct 18 2017 - 02:19:49 EST
On Wed, Oct 18, 2017 at 01:49:26PM +0800, Jeffy Chen wrote:
> There are cases we call device_del() without detaching it from the
> driver(e.g. spi core del children devices).
Why would you do that? Shouldn't that be fixed instead of this odd
work-around for a broken bus?
thanks,
greg k-h