virtio: fix obsolete documentation on probe function
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:16:33 +0000 (22:16 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:35 +0000 (22:16 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio.h

index 06005fa..9410394 100644 (file)
@@ -99,8 +99,7 @@ void unregister_virtio_device(struct virtio_device *dev);
  * @id_table: the ids serviced by this driver.
  * @feature_table: an array of feature numbers supported by this device.
  * @feature_table_size: number of entries in the feature table array.
- * @probe: the function to call when a device is found.  Returns a token for
- *    remove, or PTR_ERR().
+ * @probe: the function to call when a device is found.  Returns 0 or -errno.
  * @remove: the function when a device is removed.
  * @config_changed: optional function to call when the device configuration
  *    changes; may be called in interrupt context.