Re: [PATCH] spi: Force the registration of the spidev devices

Greg Kroah-Hartman
2015-05-13T18:36:57Z

On Wed, May 13, 2015 at 07:32:11PM +0100, Mark Brown wrote:
> On Wed, May 13, 2015 at 11:16:31AM -0700, Greg Kroah-Hartman wrote:
>
> > It should "just work" for all busses, but if you want to add a "new_id"
> > sysfs file, you need to add the logic for that to your bus. It's the
> > bind/unbind files in the driver directories.
>
> Oh, right. For this to be useful here we'd need to implement a new_id
> file, bind and unbind don't do anything helpful here. I think I'd have
> expected this to have a default implementation that non-enumerable buses
> could pick up.

No one has ever asked for that, so feel free to make a patch that adds
it :)

thanks,

greg k-h