diff options
author | Lukas Wunner <lukas@wunner.de> | 2020-05-04 13:12:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-04 18:18:45 +0200 |
commit | 2b60c49f3ca0648c5b02b60dc0f5b9e2c274bfb5 (patch) | |
tree | 9b1c524182eda35bc27b2eec7ec596b1daa9a75a /drivers/hid/hid-roccat-common.h | |
parent | spi: atmel: Add missing annotation for atmel_spi_next_xfer_dma_submit() (diff) | |
download | linux-2b60c49f3ca0648c5b02b60dc0f5b9e2c274bfb5.tar.xz linux-2b60c49f3ca0648c5b02b60dc0f5b9e2c274bfb5.zip |
spi: amd: Fix duplicate iounmap in error path
The AMD SPI driver uses devm_ioremap_resource() to map its registers, so
they're automatically unmapped via device_release() when the last ref on
the SPI controller is dropped. The additional iounmap() in the ->probe()
error path is thus unnecessary.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/497cc38ae2beb7900ae05a1463eb83ff96e2770e.1588590210.git.lukas@wunner.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hid/hid-roccat-common.h')
0 files changed, 0 insertions, 0 deletions