summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/config.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-10-04 15:23:31 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-10-19 10:38:08 +0300
commitca02a5af650cf3addb004196c2ab713b020445ef (patch)
treecd36b38c5bd888e39b48944c323b523f3a6a4361 /drivers/usb/gadget/config.c
parentb61e47b44882f6e578ef7c14197ea90a2703b5a0 (diff)
downloadlinux-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