]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: dcp - Use devm_ioremap_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 22 Sep 2013 17:42:25 +0000 (14:42 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Sep 2013 20:02:24 +0000 (06:02 +1000)
commit05a27928f37b31ea8b844e3b0c623d7f46451145
treedb5fc17aebd75a8fc5b7fde813d8b14ad0c7f3fe
parent801201aa25646291aa87ba97250f6614639eb2ea
crypto: dcp - Use devm_ioremap_resource()

Using devm_ioremap_resource() can make the code simpler and smaller.

When devm_ioremap_resource() is used there is no need to explicitely check the
error returned by platform_get_resource().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/dcp.c