commit | e56db277684895184bc74fcf74f7ef993e3a5b6c | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Apr 25 15:15:23 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 25 03:51:43 2013 -0400 |
tree | d7101df7982ec2a5c7bdf93afe84e5f376da1c28 | |
parent | e8dbad66ef56074eadb41ed5998acd2320447018 [diff] |
caif: spi: missing platform_driver_unregister() on error in cfspi_init_module() Add the missing platform_driver_unregister() before return from cfspi_init_module() in the error handling case. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>