usb: chipidea: usbmisc_imx: Use of_device_get_match_data()
authorFabio Estevam <festevam@gmail.com>
Tue, 24 Nov 2020 16:39:11 +0000 (13:39 -0300)
committerPeter Chen <peter.chen@nxp.com>
Thu, 10 Dec 2020 09:35:33 +0000 (17:35 +0800)
commit58bcafec8062f7566b736a019c3506949f9be6d3
tree8d0c7d755059772be8f02d788a9f1b4098e0b74e
parent448373d9db1a7000072f65103af19e20503f0c0c
usb: chipidea: usbmisc_imx: 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.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/usbmisc_imx.c