Skip to content
Commit e60e063c authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Dmitry Torokhov
Browse files

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: default avatarArnd 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: default avatarPetri Gynther <pgynther@google.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 9154301a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment