[PATCH 4.9 45/62] HID: Fix assumption that devices have inputs