usb: chipidea: ci_hdrc_imx: Use of_device_get_match_data()
authorFabio Estevam <festevam@gmail.com>
Tue, 24 Nov 2020 16:39:12 +0000 (13:39 -0300)
committerPeter Chen <peter.chen@nxp.com>
Thu, 10 Dec 2020 09:35:33 +0000 (17:35 +0800)
commit59b7c6a8fd6c44d2683d02d63e137d0c11855c32
treec957711b610411a21d99670f3d0e23866b85605f
parent58bcafec8062f7566b736a019c3506949f9be6d3
usb: chipidea: ci_hdrc_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/ci_hdrc_imx.c