usb/host/fotg210: convert macro to inline function
authorPeter Senna Tschudin <peter.senna@gmail.com>
Mon, 12 Oct 2015 21:22:38 +0000 (23:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:46:27 +0000 (23:46 -0700)
commitc4d66b5f8da338482005cf7f3dd2fcdaed09dd3f
treea2a20de869e5671b534e3e39da34e370402db60c
parent05ebc36e48fa53c9cf01271ed11a8415882699f3
usb/host/fotg210: convert macro to inline function

This patch convert the macro speed_char in an inline function. The goal
of this patch is to make the code easier to read.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fotg210-hcd.c