Searched hist:"1966 e005" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/keyboard/ |
H A D | sunkbd.c | 1966e005 Fri Aug 18 19:10:05 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> Input: sunkbd - 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> 1966e005 Fri Aug 18 19:10:05 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> Input: sunkbd - 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>
|