Input: twidjoy - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:08:41 +0000 (17:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:14:15 +0000 (17:14 -0700)
commita1e29643bc10873821a1b9fe4551224370379f78
tree46e16ef06dd5804e179345a40f6577d03fd4ecf1
parentfa0426c6cfdf89726f4e9495d6870f01374459f9
Input: twidjoy - constify serio_device_id

serio_device_id are not supposed to change at runtime. All functions
working with serio_device_id provided by <linux/serio.h> work with
const serio_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/twidjoy.c