Vladimir Zapolskiy 9b52d55f4f crypto: atmel - fix checks of error code returned by devm_ioremap_resource()
The change fixes potential oops while accessing iomem on invalid
address, if devm_ioremap_resource() fails due to some reason.

The devm_ioremap_resource() function returns ERR_PTR() and never
returns NULL, which makes useless a following check for NULL.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Fixes: b0e8b3417a62 ("crypto: atmel - use devm_xxx() managed function")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-03-11 21:19:19 +08:00
..
2016-01-22 18:04:28 -05:00
2016-01-27 20:36:08 +08:00
2016-01-20 18:42:30 -08:00
2016-01-20 18:16:29 -08:00
2016-01-20 17:55:20 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 10:15:21 -08:00
2016-01-20 17:30:20 -08:00
2016-01-13 10:23:36 -08:00
2016-01-19 09:35:06 -08:00
2016-01-12 12:17:28 +01:00
2016-01-27 20:35:48 +08:00
2016-01-20 18:42:30 -08:00
2016-01-22 12:04:21 -08:00
2016-01-27 20:35:50 +08:00
2016-01-27 20:36:09 +08:00
2016-01-14 11:13:28 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-27 20:36:10 +08:00
2016-01-15 13:18:47 -08:00
2016-02-06 15:33:15 +08:00
2016-01-27 20:36:12 +08:00
2016-01-20 18:42:30 -08:00
2016-01-27 20:35:52 +08:00
2016-01-22 18:04:28 -05:00
2016-01-18 16:44:24 -08:00