usb: gadget: configfs: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:46 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:27 +0000 (16:15 +0200)
commit4ad0141226f00eee3cfe4392c27e14bf15520640
treed86079db60a94c8febc563713503f3c26de47e33
parent5c4e2476ed54de92e0289cb7d4b08d939f5ae730
usb: gadget: configfs: make config_item_type const

Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/usb/gadget/configfs.c