usb: gadget: r8a66597: convert to devm_platform_ioremap_resource_byname
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 22 Jul 2020 07:51:13 +0000 (15:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 14:49:38 +0000 (16:49 +0200)
commitc94622683443a8eab17df07b9124304f8c40c01c
tree325d2d06c1b71d6c33c2ff18b48d8d0342be5dbb
parentdb123bea96252d2f9eb0dc8e53f7b2e54856b31c
usb: gadget: r8a66597: convert to devm_platform_ioremap_resource_byname

Use devm_platform_ioremap_resource_byname() to simplify code

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1595404275-8449-5-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/r8a66597-udc.c