[PATCH 03/20] Input: iforce - move get_id to the transport operations

2018-09-17 Thread Dmitry Torokhov
To avoid #ifdef-ing out parts of the code and having conditionals in normal control flow, let's define "get_id" transport method and move implementation into respective transport modules. Signed-off-by: Dmitry Torokhov --- .../input/joystick/iforce/iforce-packets.c| 64 ---

[PATCH 03/20] Input: iforce - move get_id to the transport operations

2018-09-17 Thread Dmitry Torokhov
To avoid #ifdef-ing out parts of the code and having conditionals in normal control flow, let's define "get_id" transport method and move implementation into respective transport modules. Signed-off-by: Dmitry Torokhov --- .../input/joystick/iforce/iforce-packets.c| 64 ---