]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-gfrm: avoid warning for input_configured API change
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Nov 2015 18:10:27 +0000 (10:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Nov 2015 18:15:35 +0000 (10:15 -0800)
commit996f6ba19bca94c961293824552edf1398088213
tree35a116ed2c60433a4960f0d74ebd5e9bc25941c7
parent113ec84f4af1cf237bc137659f2fe06d1431e914
HID: hid-gfrm: avoid warning for input_configured API change

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: Arnd Bergmann <arnd@arndb.de>
Fixes: 2611b9bf0c95 ("HID: hid-gfrm: Google Fiber TV Box remote controls")
Fixes: b2c68a2f1bab ("HID: hid-input: allow input_configured callback return errors")
Acked-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/hid/hid-gfrm.c