media: i2c: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:14 +0000 (04:22 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 12:40:42 +0000 (08:40 -0400)
commitea9b0f31c1acd35b6905dbfa7dd19c01592470f6
treeb2adb2124d74441c5a5f3fb0b93697a7aa03361c
parentd746cf89b4b7e60f5b7239b3ef8e8af01d11f604
media: i2c: make device_type const

Make this const as it is only stored in the type field of a device
structure, which is const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/soc_camera/mt9t031.c