diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-04-27 18:29:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 16:30:11 (GMT) |
commit | f3cdc28520a059feb8b5001655f01536ab1e0167 (patch) | |
tree | ebc0b9457ef4d3fb1f82e03a64299bcfea991e7b /drivers/staging/iio | |
parent | 64a5a09218626464be35e0229d85b2ab0fcf03fd (diff) | |
download | linux-fsl-qoriq-f3cdc28520a059feb8b5001655f01536ab1e0167.tar.xz |
Staging: iio: fix up the iio_get_new_idr_val comment
improve the comment a bit
Cc: Greg KH <greg@kroah.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Sonic Zhang <sonic.adi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/industrialio-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 5af1a47..1d77082 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c @@ -537,7 +537,7 @@ static void iio_device_unregister_sysfs(struct iio_dev *dev_info) sysfs_remove_group(&dev_info->dev.kobj, dev_info->attrs); } -/* This function return negative value if fails. */ +/* Return a negative errno on failure */ int iio_get_new_idr_val(struct idr *this_idr) { int ret; |