Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-22 Thread Greg Kroah-Hartman
On Thu, Jul 20, 2017 at 08:50:26AM -0700, Dmitry Torokhov wrote: > On July 20, 2017 1:20:09 AM PDT, Greg Kroah-Hartman > wrote: > >On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: > >> Any chance you could create an unmutable branch off 4.12 so I can >

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-22 Thread Greg Kroah-Hartman
On Thu, Jul 20, 2017 at 08:50:26AM -0700, Dmitry Torokhov wrote: > On July 20, 2017 1:20:09 AM PDT, Greg Kroah-Hartman > wrote: > >On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: > >> Any chance you could create an unmutable branch off 4.12 so I can > >start using it in input

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Dmitry Torokhov
On July 20, 2017 1:20:09 AM PDT, Greg Kroah-Hartman wrote: >On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: >> On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman > wrote: >> >On Wed, Jul 19, 2017 at 05:24:33PM -0700,

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Dmitry Torokhov
On July 20, 2017 1:20:09 AM PDT, Greg Kroah-Hartman wrote: >On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: >> On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman > wrote: >> >On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: >> >> Many drivers create additional

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Greg Kroah-Hartman
On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: > On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman > wrote: > >On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: > >> Many drivers create additional driver-specific device attributes

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Greg Kroah-Hartman
On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: > On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman > wrote: > >On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: > >> Many drivers create additional driver-specific device attributes when > >> binding to the

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Dmitry Torokhov
On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman wrote: >On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: >> Many drivers create additional driver-specific device attributes when >> binding to the device, and providing managed version of >>

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-20 Thread Dmitry Torokhov
On July 19, 2017 10:10:18 PM PDT, Greg Kroah-Hartman wrote: >On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: >> Many drivers create additional driver-specific device attributes when >> binding to the device, and providing managed version of >> device_create_group() will simplify

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: > Many drivers create additional driver-specific device attributes when > binding to the device, and providing managed version of > device_create_group() will simplify unbinding and error handling in probe > path for such drivers. >

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: > Many drivers create additional driver-specific device attributes when > binding to the device, and providing managed version of > device_create_group() will simplify unbinding and error handling in probe > path for such drivers. >

[PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-19 Thread Dmitry Torokhov
Many drivers create additional driver-specific device attributes when binding to the device, and providing managed version of device_create_group() will simplify unbinding and error handling in probe path for such drivers. Without managed version driver writers either have to mix manual and

[PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-19 Thread Dmitry Torokhov
Many drivers create additional driver-specific device attributes when binding to the device, and providing managed version of device_create_group() will simplify unbinding and error handling in probe path for such drivers. Without managed version driver writers either have to mix manual and