diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-04-27 11:19:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-29 14:34:20 +0300 |
commit | 866e48b0994c6338e6aa4ae7c413b5888ab432d1 (patch) | |
tree | 32fab7a1b816e9d5d41d3415507af8e2db680abb /drivers/spi/spi-dw.h | |
parent | 2452ee25255af95d122ff66ea390facb67a61fc3 (diff) | |
download | linux-866e48b0994c6338e6aa4ae7c413b5888ab432d1.tar.xz |
spi: pic32: Fix checking return value of devm_ioremap_resource
devm_ioremap_resource() returns ERR_PTR on error.
Also remove the redundant dev_err message, the implementation of
devm_ioremap_resource() already print error messages on error paths.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
0 files changed, 0 insertions, 0 deletions