Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-19 Thread Guenter Roeck
On 01/18/2017 08:58 PM, Joe Perches wrote: On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] diff --git a/drivers/input/misc/bfin_rotary.c

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-19 Thread Guenter Roeck
On 01/18/2017 08:58 PM, Joe Perches wrote: On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] diff --git a/drivers/input/misc/bfin_rotary.c

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Joe Perches
On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: > On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: > > On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] > > > diff --git a/drivers/input/misc/bfin_rotary.c > > > b/drivers/input/misc/bfin_rotary.c [] > > > @@

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Joe Perches
On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: > On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: > > On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] > > > diff --git a/drivers/input/misc/bfin_rotary.c > > > b/drivers/input/misc/bfin_rotary.c [] > > > @@

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Guenter Roeck
On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: > On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: > > Use local variable 'dev' instead of dereferencing it several times. > > Other relevant changes: > > Replace devm_add_action() with devm_add_action_or_reset() > >

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Guenter Roeck
On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: > On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: > > Use local variable 'dev' instead of dereferencing it several times. > > Other relevant changes: > > Replace devm_add_action() with devm_add_action_or_reset() > >

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Dmitry Torokhov
On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: > Use local variable 'dev' instead of dereferencing it several times. > Other relevant changes: > Replace devm_add_action() with devm_add_action_or_reset() > > This conversion was done automatically with coccinelle using the >

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Dmitry Torokhov
On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: > Use local variable 'dev' instead of dereferencing it several times. > Other relevant changes: > Replace devm_add_action() with devm_add_action_or_reset() > > This conversion was done automatically with coccinelle using the >

[PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Guenter Roeck
Use local variable 'dev' instead of dereferencing it several times. Other relevant changes: Replace devm_add_action() with devm_add_action_or_reset() This conversion was done automatically with coccinelle using the following semantic patches. The semantic patches and the scripts used to

[PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Guenter Roeck
Use local variable 'dev' instead of dereferencing it several times. Other relevant changes: Replace devm_add_action() with devm_add_action_or_reset() This conversion was done automatically with coccinelle using the following semantic patches. The semantic patches and the scripts used to