diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2019-01-19 18:04:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-21 20:58:12 +0300 |
commit | 1fc1b63638da1accb27264a507b23aa6863c3852 (patch) | |
tree | 33f6da04140adf699bb299092ea4784e8ccd7506 /drivers/spi/spi-bcm2835aux.c | |
parent | d05e3eadb1bccbf276742e13b2c898959c310ce6 (diff) | |
download | linux-1fc1b63638da1accb27264a507b23aa6863c3852.tar.xz |
spi: spi-mem: Add devm_spi_mem_dirmap_{create,destroy}()
Since direct mapping descriptors usually the same lifetime as the SPI
MEM device adding devm_ variants of the spi_mem_dirmap_{create,destroy}()
should greatly simplify error/remove path of spi-mem drivers making use
of the direct mapping API.
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835aux.c')
0 files changed, 0 insertions, 0 deletions