usb: host: xhci-plat: use devm_functions
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 20 Jun 2014 17:41:23 +0000 (23:11 +0530)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:19 +0000 (11:16 +0100)
commitba826a054d9134afead71b9c469f0dc03b860732
tree16b4f650763c28799de86e3eaef77b43206cc04a
parentbed3522f4f1652fa4fdc2f121cb07c049552718a
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>
(cherry picked from commit fd666348c51f6ab66410c98a149e0418b9a258f0)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/usb/host/xhci-plat.c