media: usb: make i2c_adapter const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 10:34:15 +0000 (06:34 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 12:41:58 +0000 (08:41 -0400)
commit6843868fd092406b544064e4db1ca902af13cf48
treee211ed6751864ebcacebbe878f4fd4a91a790185
parent9a5c43b3d22f17125044f17256a125d2bd13559d
media: usb: make i2c_adapter const

Make these const as they are only used in a copy operation.
Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/au0828/au0828-i2c.c
drivers/media/usb/cx231xx/cx231xx-i2c.c
drivers/media/usb/em28xx/em28xx-i2c.c
drivers/media/usb/hdpvr/hdpvr-i2c.c
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c
drivers/media/usb/stk1160/stk1160-i2c.c
drivers/media/usb/usbvision/usbvision-i2c.c