]> git.baikalelectronics.ru Git - kernel.git/commit
usb: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:26 +0000 (13:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 09:17:57 +0000 (11:17 +0200)
commit5cb7a306202494e9b41c0275eb17b5acee393eed
tree90190b15312d6998a1f0b5352599502ede5bb3bf
parenta03d0b4a2a870365232956e898f6a9ffc207ed76
usb: 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>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/ulpi.c