]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23d5b3de516f50fb0b063df6b3e1325f86382508
treeb2adb2124d74441c5a5f3fb0b93697a7aa03361c
parent4ffd93e2545f7cb95e2704160e006db6bd8d8a3e
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