Re: [PATCH v10 1/5] serdev: Make .remove in struct serdev_device_driver optional

2017-11-04 Thread Sebastian Reichel
Hi Greg, On Sat, Nov 04, 2017 at 12:24:31PM +0100, Greg Kroah-Hartman wrote: > On Tue, Oct 31, 2017 at 09:36:52AM -0700, Andrey Smirnov wrote: > > Using devres infrastructure it is possible to write a serdev driver > > that doesn't have any code that needs to be called as a part of > > .remove. Ad

Re: [PATCH v10 1/5] serdev: Make .remove in struct serdev_device_driver optional

2017-11-04 Thread Greg Kroah-Hartman
On Tue, Oct 31, 2017 at 09:36:52AM -0700, Andrey Smirnov wrote: > Using devres infrastructure it is possible to write a serdev driver > that doesn't have any code that needs to be called as a part of > .remove. Add code to make .remove optional. What about manual unbind from userspace through sysf

Re: [PATCH v10 1/5] serdev: Make .remove in struct serdev_device_driver optional

2017-11-01 Thread Rob Herring
On Tue, Oct 31, 2017 at 11:36 AM, Andrey Smirnov wrote: > Using devres infrastructure it is possible to write a serdev driver > that doesn't have any code that needs to be called as a part of > .remove. Add code to make .remove optional. > > Cc: linux-kernel@vger.kernel.org > Cc: linux-ser...@vger