Input: stowaway - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:09:50 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:15:00 +0000 (17:15 -0700)
commit1fa802171fafae9f7a46ced622585692b8588f6d
tree4ffd988e89d1b0c239bdc8714db9ccad599432a1
parent9780930ae602982bd1b9859c07b09c800ae12d04
Input: stowaway - 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/keyboard/stowaway.c