diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-10-04 15:23:31 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-10-19 10:38:08 +0300 |
commit | ca02a5af650cf3addb004196c2ab713b020445ef (patch) | |
tree | cd36b38c5bd888e39b48944c323b523f3a6a4361 /drivers/usb/gadget/config.c | |
parent | b61e47b44882f6e578ef7c14197ea90a2703b5a0 (diff) | |
download | linux-ca02a5af650cf3addb004196c2ab713b020445ef.tar.xz |
usb: gadget: udc: renesas_usb3: Use of_device_get_match_data() helper
Use the of_device_get_match_data() helper instead of open coding,
postponing the matching until when it's really needed.
Note that the renesas_usb3 driver is used with DT only, so there's
always a valid match.
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/config.c')
0 files changed, 0 insertions, 0 deletions