]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hsi: controllers:remove redundant code
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Thu, 29 Oct 2015 10:04:55 +0000 (15:34 +0530)
committerSebastian Reichel <sre@kernel.org>
Fri, 30 Oct 2015 15:10:40 +0000 (16:10 +0100)
commit16bd5865cdb3b190105db21bd22a0ca0501e7b20
tree6b207e90f26402a3f705eb8079ce3b3b92c5770e
parentd2c85ac24ed7636934f469fac8836b87c7e6cb40
hsi: controllers:remove redundant code

Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because this value is alreadytaken care by devm_ioremap_resource()

Signed-off-by: Sanjeev Sharma <sanjeev_sharma@mentor.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/controllers/omap_ssi.c