]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tpm_tis: missing platform_driver_unregister() on error in init_tis()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 25 Apr 2013 07:07:47 +0000 (15:07 +0800)
committerKent Yoder <key@linux.vnet.ibm.com>
Tue, 21 May 2013 17:24:48 +0000 (12:24 -0500)
commit4fba3c3ba5c6b7803f36db7d56a58fa3226458d9
treee389f3d78fa3539a14740958fde42cafb158b145
parent4726e8fa1dcad533362475ebf91f70d5b6b6292f
tpm_tis: missing platform_driver_unregister() on error in init_tis()

Add the missing platform_driver_unregister() before return
from init_tis() in the device register error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_tis.c