spi/spi-sh: Use devm_ioremap
authorHimangi Saraogi <himangi774@gmail.com>
Sun, 6 Jul 2014 16:14:50 +0000 (21:44 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 7 Jul 2014 10:50:52 +0000 (12:50 +0200)
commite9d42d15275496a213709bbef5ba7b2f88263867
tree7b05cae3575a5741f2f0e6c7b833544bdb187086
parent7171511eaec5bf23fb06078f59784a3a0626b38f
spi/spi-sh: Use devm_ioremap

This patch introduces the use of devm_ioremap and removes the iounmaps
in the probe and remove functions. Also, the labels are renamed to
preserve ordering.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh.c