summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2023-11-17 10:10:05 -0600
committerMark Brown <broonie@kernel.org>2023-11-27 13:44:12 +0000
commit8e6a43961f24cf841d3c0d199521d0b284d948b9 (patch)
treefbb1a8bacea5991d1355c1132ae12e852d1a94d5 /drivers/mtd
parent4c3ff31a85e39d7e216e86934b694b6846433435 (diff)
downloadlwn-8e6a43961f24cf841d3c0d199521d0b284d948b9.tar.gz
lwn-8e6a43961f24cf841d3c0d199521d0b284d948b9.zip
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 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions