drm: udl: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 12 Aug 2017 08:35:19 +0000 (14:05 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Aug 2017 07:10:46 +0000 (09:10 +0200)
commit36436f4e933b42616c8e9ba4907dccf1329cb318
treeef13ec621d336ecb7d669c383d135fa2b1d23011
parent3c2c42eb47f2e2272e0cc244751cd312e18d5142
drm: udl: 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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/22fa8ca67a6d4a59997f463bf241ed56596fbcfa.1502526524.git.arvind.yadav.cs@gmail.com
drivers/gpu/drm/udl/udl_drv.c