From: Stefan Richter Date: Fri, 20 Oct 2006 23:22:36 +0000 (+0200) Subject: ieee1394: nodemgr: small fix after sysfs errors patch X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b7cffc57a777722941cfd904fcdbb47fc615b808;p=linux-beck.git ieee1394: nodemgr: small fix after sysfs errors patch One hunk in "ieee1394: handle sysfs errors" was wrong. Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index e95fe400e04d..b79ff695ca3c 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c @@ -1233,7 +1233,7 @@ int hpsb_register_protocol(struct hpsb_protocol_driver *driver) if (!ret) nodemgr_create_drv_files(driver); - return 0; + return ret; } void hpsb_unregister_protocol(struct hpsb_protocol_driver *driver)