]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tifm: fix error return code in tifm_7xx1_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 05:35:20 +0000 (13:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 17:19:30 +0000 (10:19 -0700)
commit86d6275a8f1b7ba64b79a46c7616264302f44410
treea96737bdd6be5d4b64ab90bf19e9f476f59c9b43
parentd27f25c9c216dc9f9a320fe78f729aebdebcae50
tifm: fix error return code in tifm_7xx1_probe()

Fix to return ENODEV in the pci ioremap error handling case
instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/tifm_7xx1.c