Skip to content
Unverified Commit 69c23dbf authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Mark Brown
Browse files

spi: nxp-fspi: Use devm API to fix missed unregistration of controller



This driver forgets to unregister controller when remove.
Use devm API to unregister it automatically to fix it.

Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191109075517.29988-1-hslester96@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8d858491
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment