From: Tony Prisk Date: Wed, 16 Jan 2013 19:05:41 +0000 (+1300) Subject: serial: vt8500: ioremap'd resource is never freed X-Git-Tag: v3.9-rc1~125^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4053036580f0423be14e79483a939a4aef48c592;p=pandora-kernel.git serial: vt8500: ioremap'd resource is never freed Memory mapped via ioremap call is never released. Rather than add an iounmap call, change allocation function to devm_request_and_ioremap. Also, change the error on failure for this call to -EADDRNOTAVAIL rather than -ENOMEM. Signed-off-by: Tony Prisk Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed