misc: mic: Introduce the managed version of ioremap
authorHimangi Saraogi <himangi774@gmail.com>
Mon, 14 Jul 2014 21:23:51 +0000 (14:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:47:53 +0000 (13:47 -0700)
commite1ada0f2c2286f113870b186a563eaee86d80f3c
treebd162431c74095792f0a0222e8ffd71e206af0a1
parent9f48c89862e39b7f33b44123fc425cf901c89428
misc: mic: Introduce the managed version of ioremap

This patch moves data allocated using ioremap to managed data
allocated using devm_ioremap and cleans now unnecessary
iounmaps in probe and remove functions. Also the unnecessary
label iounmap is done away with.

Link: https://lkml.org/lkml/2014/6/1/191
Tested-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/card/mic_x100.c