usb: musb: jz4740: Add local dev variable to clean up probe
authorPaul Cercueil <paul@crapouillou.net>
Wed, 15 Jan 2020 13:25:34 +0000 (07:25 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 13:46:56 +0000 (14:46 +0100)
commit4b70331b6fa13e4ae6ba634c336a616a7e2bf9d0
treeb35aa4ffda3bdf34786a8b5860702d922995e36b
parent7e2ee1ab023cda87aa5f738076d83671484204d3
usb: musb: jz4740: Add local dev variable to clean up probe

Clean up the probe function by using a local 'struct device *dev'
variable, instead of referencing &pdev->dev everytime.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-13-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/jz4740.c