kerneldoc comment fixes

s/ressources/resources/

Also reduce commas per sentence and add a possessive apostrophe.
This commit is contained in:
Alan Jenkins 2008-10-26 14:48:48 +00:00 committed by Kay Sievers
parent 427e20b261
commit be7de4097a
3 changed files with 11 additions and 11 deletions

View file

@ -266,7 +266,7 @@ struct udev_device *device_new(struct udev *udev)
* path to the device, including the sys mount point. * path to the device, including the sys mount point.
* *
* The initial refcount is 1, and needs to be decremented to * The initial refcount is 1, and needs to be decremented to
* release the ressources of the udev device. * release the resources of the udev device.
* *
* Returns: a new udev device, or #NULL, if it does not exist * Returns: a new udev device, or #NULL, if it does not exist
**/ **/
@ -587,7 +587,7 @@ struct udev_device *udev_device_ref(struct udev_device *udev_device)
* @udev_device: udev device * @udev_device: udev device
* *
* Drop a reference of a udev device. If the refcount reaches zero, * Drop a reference of a udev device. If the refcount reaches zero,
* the ressources of the device will be released. * the resources of the device will be released.
* *
**/ **/
void udev_device_unref(struct udev_device *udev_device) void udev_device_unref(struct udev_device *udev_device)

View file

@ -54,7 +54,7 @@ struct udev_monitor {
* socket will be used. * socket will be used.
* *
* The initial refcount is 1, and needs to be decremented to * The initial refcount is 1, and needs to be decremented to
* release the ressources of the udev monitor. * release the resources of the udev monitor.
* *
* Returns: a new udev monitor, or #NULL, in case of an error * Returns: a new udev monitor, or #NULL, in case of an error
**/ **/
@ -178,7 +178,7 @@ struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor)
* @udev_monitor: udev monitor * @udev_monitor: udev monitor
* *
* Drop a reference ofa udev monitor. If the refcount reaches zero, * Drop a reference ofa udev monitor. If the refcount reaches zero,
* the bound socket will be closed, and the ressources of the monitor * the bound socket will be closed, and the resources of the monitor
* will be released. * will be released.
* *
**/ **/
@ -233,11 +233,11 @@ int udev_monitor_get_fd(struct udev_monitor *udev_monitor)
* device, fill in the received data, and return the device. * device, fill in the received data, and return the device.
* *
* Only socket connections with uid=0 are accepted. The caller * Only socket connections with uid=0 are accepted. The caller
* needs to make sure, that there is data to read from the socket, * needs to make sure that there is data to read from the socket.
* the call will block until the socket becomes readable. * The call will block until the socket becomes readable.
* *
* The initial refcount is 1, and needs to be decremented to * The initial refcount is 1, and needs to be decremented to
* release the ressources of the udev device. * release the resources of the udev device.
* *
* Returns: a new udev device, or #NULL, in case of an error * Returns: a new udev device, or #NULL, in case of an error
**/ **/

View file

@ -85,7 +85,7 @@ void udev_set_userdata(struct udev *udev, void *userdata)
* Create udev library context. * Create udev library context.
* *
* The initial refcount is 1, and needs to be decremented to * The initial refcount is 1, and needs to be decremented to
* release the ressources of the udev library context. * release the resources of the udev library context.
* *
* Returns: a new udev library context * Returns: a new udev library context
**/ **/
@ -267,7 +267,7 @@ struct udev *udev_ref(struct udev *udev)
* @udev: udev library context * @udev: udev library context
* *
* Drop a reference of the udev library context. If the refcount * Drop a reference of the udev library context. If the refcount
* reaches zero, the ressources of the context will be released. * reaches zero, the resources of the context will be released.
* *
**/ **/
void udev_unref(struct udev *udev) void udev_unref(struct udev *udev)
@ -290,9 +290,9 @@ void udev_unref(struct udev *udev)
* @udev: udev library context * @udev: udev library context
* @log_fn: function to be called for logging messages * @log_fn: function to be called for logging messages
* *
* The built-in logging, which writes to stderr, it can be * The built-in logging writes to stderr. It can be
* overridden by a custom function, to plug log messages * overridden by a custom function, to plug log messages
* into the users logging functionality. * into the users' logging functionality.
* *
**/ **/
void udev_set_log_fn(struct udev *udev, void udev_set_log_fn(struct udev *udev,