Skip to content
Unverified Commit 1fc1b636 authored by Boris Brezillon's avatar Boris Brezillon Committed by Mark Brown
Browse files

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: default avatarBoris Brezillon <bbrezillon@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d05e3ead
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment