[PATCH openEuler-21.03 16/20] spi: Fix spi device unregister flow