usb: host: xhci-plat: use devm_functions
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 20 Jun 2014 17:41:23 +0000 (23:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 22:47:51 +0000 (15:47 -0700)
commitfd666348c51f6ab66410c98a149e0418b9a258f0
tree232ff2cc374408fed6b39bf54dfce7140b448e9f
parent288c0f44eb5535fe367ac70c5772b5f0404bf74f
usb: host: xhci-plat: use devm_functions

This patch introduces the use of managed interface devm_ioremap_resource
for ioremap_nocache and request_mem_region and removes the corresponding
free functions in the probe and remove functions.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Mathias Nyman <mathias.nyman@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c