From: Rusty Russell Date: Sat, 13 Jun 2009 04:16:33 +0000 (-0600) Subject: virtio: fix obsolete documentation on probe function X-Git-Tag: v2.6.31-rc1~369^2~12 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=20f77f5654042cf484d8964b618faf9d620f639b;p=linux.git virtio: fix obsolete documentation on probe function Signed-off-by: Rusty Russell --- diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 06005fa9e982..9410394bbf96 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -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.