]> err.no Git - linux-2.6/blobdiff - Documentation/pnp.txt
[PATCH] libata-hp-prep: use __ata_scsi_find_dev()
[linux-2.6] / Documentation / pnp.txt
index af0f6eabfa1c47ee0740664826caacdc15cca94c..9529c9c9fd59fe69d8d960b05a9522e7ba0bbaac 100644 (file)
@@ -115,6 +115,9 @@ pnp_unregister_protocol
 pnp_register_driver
 - adds a PnP driver to the Plug and Play Layer
 - this includes driver model integration
+- returns zero for success or a negative error number for failure; count
+  calls to the .add() method if you need to know how many devices bind to
+  the driver
 
 pnp_unregister_driver
 - removes a PnP driver from the Plug and Play Layer