ieee1394: nodemgr: small fix after sysfs errors patch
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 20 Oct 2006 23:22:36 +0000 (01:22 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:31:51 +0000 (21:31 +0100)
One hunk in "ieee1394: handle sysfs errors" was wrong.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/nodemgr.c

index e95fe400e04dcd2bfb910dd74f44e90621d1bdfe..b79ff695ca3cda0e320591ed9fe8c4e717c927e2 100644 (file)
@@ -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)