mtd: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:17 +0000 (13:52 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 21 Aug 2017 12:33:50 +0000 (14:33 +0200)
commit75864b301c91bf41ec2fb49ce4efb62fcb48b954
treec544a27f92eca91e933316964302879f33a275a7
parent2acc717b7a196c355f3a126a9ac4e9df784113e7
mtd: 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: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/mtdcore.c