OSDN Git Service

mei: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:16 +0000 (13:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 09:59:39 +0000 (11:59 +0200)
commitb8d01b7fbaa3b9d5887ec6c6fea36fb57bbc4d6b
tree985d3ea8ed81987abac987869edf9033c4adcbe6
parente8d2ed7db7c3cfbe92923c49cc5e830b0a0ee374
mei: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c