Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-08 Thread Tobias Klauser
On 2014-10-07 at 18:17:16 +0200, Dmitry Torokhov wrote: > On Tue, Oct 07, 2014 at 03:33:22PM +0200, Tobias Klauser wrote: > > On 2014-10-07 at 13:31:41 +0200, Pramod Gurav > > wrote: > > > This change switch to managed resources to simplifies error handling > > > and module unloading and does a

Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-07 Thread Dmitry Torokhov
On Tue, Oct 07, 2014 at 03:33:22PM +0200, Tobias Klauser wrote: > On 2014-10-07 at 13:31:41 +0200, Pramod Gurav > wrote: > > This change switch to managed resources to simplifies error handling > > and module unloading and does away with platform_driver remove function. > > > > Cc: Dmitry Torokh

Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-07 Thread Tobias Klauser
On 2014-10-07 at 13:31:41 +0200, Pramod Gurav wrote: > This change switch to managed resources to simplifies error handling > and module unloading and does away with platform_driver remove function. > > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org > Signed-off-by: Pramod Gurav > --- >

[PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-07 Thread Pramod Gurav
This change switch to managed resources to simplifies error handling and module unloading and does away with platform_driver remove function. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/input/keyboard/opencores-kbd.c | 54 ---