watchdog: pcwd_usb: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 12 Aug 2017 08:39:45 +0000 (14:09 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 18:37:36 +0000 (20:37 +0200)
commitcc53e1c2bba50563da8fae057e75a6377b9db696
treeaad388723c069dd4904ec8476bff21042488ab52
parentf3a7f6f67fc7ec5bb47a6ad6b947d66759e6d9e4
watchdog: pcwd_usb: constify usb_device_id

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

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/pcwd_usb.c