Re: [PATCH] spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()

2013-04-25 Thread Mark Brown
On Thu, Apr 25, 2013 at 03:18:02PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing platform_driver_unregister() before return > from pch_spi_init() in the error handling case. Applied, thanks. signature.asc Description: Digital signature

[PATCH] spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun Add the missing platform_driver_unregister() before return from pch_spi_init() in the error handling case. Signed-off-by: Wei Yongjun --- drivers/spi/spi-topcliff-pch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-topcliff-pch.c b/dri