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: NArnd Bergmann <arnd@arndb.de> Fixes: 34fc1322 ("HID: hid-gfrm: Google Fiber TV Box remote controls") Fixes: b2c68a2f ("HID: hid-input: allow input_configured callback return errors") Acked-by: NPetri Gynther <pgynther@google.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
Showing
想要评论请 注册 或 登录