usb: phy: phy-mxs-usb: Use of_device_get_match_data()
authorFabio Estevam <festevam@gmail.com>
Mon, 18 Jan 2021 15:26:15 +0000 (12:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Jan 2021 17:35:46 +0000 (18:35 +0100)
commit2e559638f729dc00322ef08b7f8dab40627de905
treef6911aa90084e697c53265d0345352cd23aaac61
parentc25c210f590e7a37eecd865d84f97d1f40e39786
usb: phy: phy-mxs-usb: Use of_device_get_match_data()

The retrieval of driver data via of_device_get_match_data() can make
the code simpler.

Use of_device_get_match_data() to simplify the code.

Acked-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210118152615.1644861-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-mxs-usb.c