Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-05 Thread Dmitry Torokhov
On Wed, Nov 04, 2015 at 10:32:24AM +0100, Jiri Kosina wrote: > On Tue, 3 Nov 2015, Dmitry Torokhov wrote: > > > > > The input_configured callback was recently changed to return > > > > an 'int', but the newly added driver uses the old API: > > > > > > > > drivers/hid/hid-gfrm.c:151:22: warning:

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-05 Thread Dmitry Torokhov
On Wed, Nov 04, 2015 at 10:32:24AM +0100, Jiri Kosina wrote: > On Tue, 3 Nov 2015, Dmitry Torokhov wrote: > > > > > The input_configured callback was recently changed to return > > > > an 'int', but the newly added driver uses the old API: > > > > > > > > drivers/hid/hid-gfrm.c:151:22: warning:

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-04 Thread Jiri Kosina
On Tue, 3 Nov 2015, Dmitry Torokhov wrote: > > > The input_configured callback was recently changed to return > > > an 'int', but the newly added driver uses the old API: > > > > > > drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible > > > pointer type

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-04 Thread Jiri Kosina
On Tue, 3 Nov 2015, Dmitry Torokhov wrote: > > > The input_configured callback was recently changed to return > > > an 'int', but the newly added driver uses the old API: > > > > > > drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible > > > pointer type

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Dmitry Torokhov
On Tue, Nov 03, 2015 at 11:33:11AM -0800, Petri Gynther wrote: > On Tue, Nov 3, 2015 at 6:56 AM, Arnd Bergmann wrote: > > The input_configured callback was recently changed to return > > an 'int', but the newly added driver uses the old API: > > > > drivers/hid/hid-gfrm.c:151:22: warning:

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Petri Gynther
On Tue, Nov 3, 2015 at 6:56 AM, Arnd Bergmann wrote: > The input_configured callback was recently changed to return > an 'int', but the newly added driver uses the old API: > > drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible > pointer type [-Wincompatible-pointer-types]

[PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Arnd Bergmann
The input_configured callback was recently changed to return an 'int', but the newly added driver uses the old API: drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] This changes the driver like the other ones. Signed-off-by:

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Petri Gynther
On Tue, Nov 3, 2015 at 6:56 AM, Arnd Bergmann wrote: > The input_configured callback was recently changed to return > an 'int', but the newly added driver uses the old API: > > drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible > pointer type

Re: [PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Dmitry Torokhov
On Tue, Nov 03, 2015 at 11:33:11AM -0800, Petri Gynther wrote: > On Tue, Nov 3, 2015 at 6:56 AM, Arnd Bergmann wrote: > > The input_configured callback was recently changed to return > > an 'int', but the newly added driver uses the old API: > > > > drivers/hid/hid-gfrm.c:151:22:

[PATCH] HID: hid-gfrm: avoid warning for input_configured API change

2015-11-03 Thread Arnd Bergmann
The input_configured callback was recently changed to return an 'int', but the newly added driver uses the old API: drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] This changes the driver like the other ones. Signed-off-by: