commit | 13431c60705f385b7f1c7bb749a93b84cf55c83f | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Mon Jan 22 17:05:21 2018 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Mar 08 15:12:01 2018 +0200 |
tree | f68042caa62eec8d0644db36f0171ece5ec1320e | |
parent | a127f4f228104d391a6aa62a9a57b2ba697f90c2 [diff] |
usb: gadget: udc: atmel: Use devm_ioremap_resource() As devm_ioremap_resource() checks for valid resource, make use of it instead of testing ourselves. As a bonus memory region is requested. Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>