summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-27 11:29:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 09:30:11 -0700
commitf3cdc28520a059feb8b5001655f01536ab1e0167 (patch)
treeebc0b9457ef4d3fb1f82e03a64299bcfea991e7b /drivers
parent64a5a09218626464be35e0229d85b2ab0fcf03fd (diff)
downloadlinux-f3cdc28520a059feb8b5001655f01536ab1e0167.tar.bz2
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')
-rw-r--r--drivers/staging/iio/industrialio-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 5af1a4783434..1d77082c8531 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;