Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-13 Thread Thierry Reding
On Thu, Jun 13, 2013 at 12:33:13AM +0200, Lars-Peter Clausen wrote: > On 06/12/2013 09:59 PM, Thierry Reding wrote: > > On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: > >> Hi Thierry, > >> > >> On 12 June 2013 16:59, Thierry Reding wrote: > >>> Some drivers don't set the .owner

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-13 Thread Thierry Reding
On Thu, Jun 13, 2013 at 12:33:13AM +0200, Lars-Peter Clausen wrote: On 06/12/2013 09:59 PM, Thierry Reding wrote: On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: Hi Thierry, On 12 June 2013 16:59, Thierry Reding thierry.red...@gmail.com wrote: Some drivers don't set the

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Lars-Peter Clausen
On 06/12/2013 09:59 PM, Thierry Reding wrote: > On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: >> Hi Thierry, >> >> On 12 June 2013 16:59, Thierry Reding wrote: >>> Some drivers don't set the .owner fields of the struct device_driver or >>> struct pwm_ops, which causes the module

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2013 at 09:59:18PM +0200, Thierry Reding wrote: > On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: > > Hi Thierry, > > > > On 12 June 2013 16:59, Thierry Reding wrote: > > > Some drivers don't set the .owner fields of the struct device_driver or > > > struct pwm_ops,

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Thierry Reding
On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: > Hi Thierry, > > On 12 June 2013 16:59, Thierry Reding wrote: > > Some drivers don't set the .owner fields of the struct device_driver or > > struct pwm_ops, which causes the module usage count to become wrong. > > > Recently a

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Sachin Kamat
Hi Thierry, On 12 June 2013 16:59, Thierry Reding wrote: > Some drivers don't set the .owner fields of the struct device_driver or > struct pwm_ops, which causes the module usage count to become wrong. Recently a patch [1] was added to solve this issue of missing .owner fileds in struct

[PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Thierry Reding
Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes the module usage count to become wrong. Signed-off-by: Thierry Reding --- drivers/pwm/pwm-atmel-tcb.c | 1 + drivers/pwm/pwm-bfin.c | 1 + drivers/pwm/pwm-imx.c | 1 +

[PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Thierry Reding
Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes the module usage count to become wrong. Signed-off-by: Thierry Reding thierry.red...@gmail.com --- drivers/pwm/pwm-atmel-tcb.c | 1 + drivers/pwm/pwm-bfin.c | 1 + drivers/pwm/pwm-imx.c

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Sachin Kamat
Hi Thierry, On 12 June 2013 16:59, Thierry Reding thierry.red...@gmail.com wrote: Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes the module usage count to become wrong. Recently a patch [1] was added to solve this issue of missing .owner

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Thierry Reding
On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: Hi Thierry, On 12 June 2013 16:59, Thierry Reding thierry.red...@gmail.com wrote: Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes the module usage count to become wrong.

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2013 at 09:59:18PM +0200, Thierry Reding wrote: On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: Hi Thierry, On 12 June 2013 16:59, Thierry Reding thierry.red...@gmail.com wrote: Some drivers don't set the .owner fields of the struct device_driver or

Re: [PATCH] pwm: Fill in missing .owner fields

2013-06-12 Thread Lars-Peter Clausen
On 06/12/2013 09:59 PM, Thierry Reding wrote: On Wed, Jun 12, 2013 at 05:05:18PM +0530, Sachin Kamat wrote: Hi Thierry, On 12 June 2013 16:59, Thierry Reding thierry.red...@gmail.com wrote: Some drivers don't set the .owner fields of the struct device_driver or struct pwm_ops, which causes