fotg210-udc: Use dev pointer in probe and dev_messages
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Nov 2022 11:51:58 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 16:25:23 +0000 (17:25 +0100)
commitd40eaada4209959264be63b21e18e15030db0a38
treed44f414f777583e6a87ccdf11243160d7c2a1a17
parent6d36e0e1a14ac9a382c7a157bce5354fd8b68134
fotg210-udc: Use dev pointer in probe and dev_messages

Add a local struct device *dev pointer and use dev_err()
etc to report status.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20221114115201.302887-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/fotg210/fotg210-udc.c