]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/mfd/intel_msic.c
mfd: Convert to devm_ioremap_resource()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 10:09:09 +0000 (11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 20:21:47 +0000 (12:21 -0800)
commit6c2db1c682a9668b854f9f4025650f7145bd090f
treea284310673a3a4a70cc5b90c22983d0775d3bd62
parentd65e8e4a1cae5f92f21d4efd6999d6fcbc9ddc0e
mfd: Convert to devm_ioremap_resource()

Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.

devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/intel_msic.c