summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-27 20:29:54 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 18:30:11 +0200
commitf3cdc28520a059feb8b5001655f01536ab1e0167 (patch)
treeebc0b9457ef4d3fb1f82e03a64299bcfea991e7b /drivers
parentStaging: add Add Sitecom WL-349 to rtl8192su (diff)
downloadlinux-f3cdc28520a059feb8b5001655f01536ab1e0167.tar.xz
linux-f3cdc28520a059feb8b5001655f01536ab1e0167.zip
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;