diff options
author | Andrew Davis <afd@ti.com> | 2023-11-17 19:10:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-27 16:44:12 +0300 |
commit | 8e6a43961f24cf841d3c0d199521d0b284d948b9 (patch) | |
tree | fbb1a8bacea5991d1355c1132ae12e852d1a94d5 /include/linux/spi/spi-mem.h | |
parent | 4c3ff31a85e39d7e216e86934b694b6846433435 (diff) | |
download | linux-8e6a43961f24cf841d3c0d199521d0b284d948b9.tar.xz |
spi: sprd: adi: Use devm_register_restart_handler()
Use device life-cycle managed register function to simplify probe error
path and eliminate need for explicit remove function.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20231117161006.87734-5-afd@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi/spi-mem.h')
0 files changed, 0 insertions, 0 deletions