Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 14, 2017 at 11:51:17AM +0530, Aishwarya Pant wrote: > On Wed, Dec 13, 2017 at 12:50:00PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > > > This is a clean-up patch which replaces the uses of raw __ATTR(...) > > > macro with the

Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 14, 2017 at 11:51:17AM +0530, Aishwarya Pant wrote: > On Wed, Dec 13, 2017 at 12:50:00PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > > > This is a clean-up patch which replaces the uses of raw __ATTR(...) > > > macro with the

Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Aishwarya Pant
On Wed, Dec 13, 2017 at 12:50:00PM +0100, Greg Kroah-Hartman wrote: > On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > > This is a clean-up patch which replaces the uses of raw __ATTR(...) > > macro with the more conventional DEVICE_ATTR(...) for defining device > > attributes. >

Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Aishwarya Pant
On Wed, Dec 13, 2017 at 12:50:00PM +0100, Greg Kroah-Hartman wrote: > On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > > This is a clean-up patch which replaces the uses of raw __ATTR(...) > > macro with the more conventional DEVICE_ATTR(...) for defining device > > attributes. >

Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Greg Kroah-Hartman
On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > This is a clean-up patch which replaces the uses of raw __ATTR(...) > macro with the more conventional DEVICE_ATTR(...) for defining device > attributes. > > Done using coccinelle- > > @r@ > identifier foo, n; > @@ > > struct

Re: [PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-13 Thread Greg Kroah-Hartman
On Mon, Dec 11, 2017 at 03:24:30PM +0530, Aishwarya Pant wrote: > This is a clean-up patch which replaces the uses of raw __ATTR(...) > macro with the more conventional DEVICE_ATTR(...) for defining device > attributes. > > Done using coccinelle- > > @r@ > identifier foo, n; > @@ > > struct

[PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-11 Thread Aishwarya Pant
This is a clean-up patch which replaces the uses of raw __ATTR(...) macro with the more conventional DEVICE_ATTR(...) for defining device attributes. Done using coccinelle- @r@ identifier foo, n; @@ struct device_attribute foo = __ATTR(n, ...); @script:python p@ id; foo << r.foo; n << r.n; @@

[PATCH] staging: fbtft: replace __ATTR() with DEVICE_ATTR()

2017-12-11 Thread Aishwarya Pant
This is a clean-up patch which replaces the uses of raw __ATTR(...) macro with the more conventional DEVICE_ATTR(...) for defining device attributes. Done using coccinelle- @r@ identifier foo, n; @@ struct device_attribute foo = __ATTR(n, ...); @script:python p@ id; foo << r.foo; n << r.n; @@