Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-25 Thread Dmitry Torokhov
Hi Richard, On Thu, Jul 25, 2019 at 02:02:03PM -0500, Richard Gong wrote: > Hi Greg, > > On 7/25/19 8:44 AM, Greg Kroah-Hartman wrote: > > On Sat, Jul 20, 2019 at 07:38:57AM +0300, Dmitry Torokhov wrote: > > > On Fri, Jul 19, 2019 at 08:52:20PM +0900, Greg Kroah-Hartman wrote: > > > > On Sat, Jul

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-25 Thread Dmitry Torokhov
On Thu, Jul 25, 2019 at 09:04:43PM +0200, Greg Kroah-Hartman wrote: > On Thu, Jul 25, 2019 at 02:02:03PM -0500, Richard Gong wrote: > > Hi Greg, > > > > On 7/25/19 8:44 AM, Greg Kroah-Hartman wrote: > > > On Sat, Jul 20, 2019 at 07:38:57AM +0300, Dmitry Torokhov wrote: > > > > On Fri, Jul 19, 2019

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-25 Thread Greg Kroah-Hartman
On Thu, Jul 25, 2019 at 02:02:03PM -0500, Richard Gong wrote: > Hi Greg, > > On 7/25/19 8:44 AM, Greg Kroah-Hartman wrote: > > On Sat, Jul 20, 2019 at 07:38:57AM +0300, Dmitry Torokhov wrote: > > > On Fri, Jul 19, 2019 at 08:52:20PM +0900, Greg Kroah-Hartman wrote: > > > > On Sat, Jul 06, 2019 at

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-25 Thread Richard Gong
Hi Greg, On 7/25/19 8:44 AM, Greg Kroah-Hartman wrote: On Sat, Jul 20, 2019 at 07:38:57AM +0300, Dmitry Torokhov wrote: On Fri, Jul 19, 2019 at 08:52:20PM +0900, Greg Kroah-Hartman wrote: On Sat, Jul 06, 2019 at 10:39:38AM -0700, Dmitry Torokhov wrote: On Sat, Jul 6, 2019 at 10:19 AM Greg Kro

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-25 Thread Greg Kroah-Hartman
On Sat, Jul 20, 2019 at 07:38:57AM +0300, Dmitry Torokhov wrote: > On Fri, Jul 19, 2019 at 08:52:20PM +0900, Greg Kroah-Hartman wrote: > > On Sat, Jul 06, 2019 at 10:39:38AM -0700, Dmitry Torokhov wrote: > > > On Sat, Jul 6, 2019 at 10:19 AM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Sat,

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-19 Thread Dmitry Torokhov
On Fri, Jul 19, 2019 at 08:52:20PM +0900, Greg Kroah-Hartman wrote: > On Sat, Jul 06, 2019 at 10:39:38AM -0700, Dmitry Torokhov wrote: > > On Sat, Jul 6, 2019 at 10:19 AM Greg Kroah-Hartman > > wrote: > > > > > > On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > > > > Hi Greg, > >

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-19 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 10:39:38AM -0700, Dmitry Torokhov wrote: > On Sat, Jul 6, 2019 at 10:19 AM Greg Kroah-Hartman > wrote: > > > > On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > > > Hi Greg, > > > > > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > > > wrote: > > > >

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Dmitry Torokhov
On Sat, Jul 6, 2019 at 10:19 AM Greg Kroah-Hartman wrote: > > On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > > Hi Greg, > > > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > > > Hi

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > Hi Greg, > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > wrote: > > > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > > Hi Greg, > > > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > > w

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Dmitry Torokhov
Hi Greg, On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman wrote: > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > Hi Greg, > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > wrote: > > > > > > Platform drivers like to add sysfs groups to their device, but righ

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > Hi Greg, > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > wrote: > > > > Platform drivers like to add sysfs groups to their device, but right now > > they have to do it "by hand". The driver core should handle this for > >

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-04 Thread Dmitry Torokhov
Hi Greg, On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman wrote: > > Platform drivers like to add sysfs groups to their device, but right now > they have to do it "by hand". The driver core should handle this for > them, but there is no way to get to the bus-default attribute groups as > all pl

[PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-04 Thread Greg Kroah-Hartman
Platform drivers like to add sysfs groups to their device, but right now they have to do it "by hand". The driver core should handle this for them, but there is no way to get to the bus-default attribute groups as all platform devices are "special and unique" one-off drivers/devices. To combat th