spi: topcliff-pch: Properly unregister platform devices on probe() error paths
authorAxel Lin <axel.lin@ingics.com>
Mon, 24 Mar 2014 07:46:55 +0000 (15:46 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 24 Mar 2014 10:57:02 +0000 (10:57 +0000)
Ensure all registered platform devices are unregistered on probe() error paths.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found