]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit287c064108fcf36da00f3a8f29dfda1fa9674250
treeb35aa4ffda3bdf34786a8b5860702d922995e36b
parent37ed5e588014e2bab72e739053a20bde6aca9db5
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