]> asedeno.scripts.mit.edu Git - linux.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)
commit53ec7f2733745f35f78ea1bab1e73b30e7667e8b
tree90190b15312d6998a1f0b5352599502ede5bb3bf
parent706d61b243d954d49fa839dcbcaace930e219271
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