OSDN Git Service

USB: host: ehci-mxc: Use the defined variable to simplify code
authorTang Bin <tangbin@cmss.chinamobile.com>
Fri, 8 May 2020 14:40:24 +0000 (22:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 12:20:00 +0000 (14:20 +0200)
commit15518726d60a39c7a517fff1a374dab403637a2a
tree15a6b010401cb26070f7d0c99b27e66ba70e80f6
parent296a193b06120aa6ae7cf5c0d7b5e5b55968026e
USB: host: ehci-mxc: Use the defined variable to simplify code

Use the defined variable "dev" to make the code cleaner. And
delete an extra blank line.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200508144024.7836-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mxc.c