summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/industrialio-core.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-02-29 22:00:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-02 16:33:52 -0800
commit4abf6f8b29e37f492078173a9d4cb808ce327ec0 (patch)
treede11508f4da46792d75159752ed53eb456e91ac3 /drivers/staging/iio/industrialio-core.c
parent92a6253299d74833a36edb94d5a4bc541418b17a (diff)
downloadop-kernel-dev-4abf6f8b29e37f492078173a9d4cb808ce327ec0.zip
op-kernel-dev-4abf6f8b29e37f492078173a9d4cb808ce327ec0.tar.gz
drivers:staging:iio Fix typos and comments in staging iio.
The below patch fixes some comments and some typos that I have found while reading drivers/staging/iio/* Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/industrialio-core.c')
-rw-r--r--drivers/staging/iio/industrialio-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 645bb45..0b8ba8f 100644
--- a/drivers/staging/iio/industrialio-core.c
+++ b/drivers/staging/iio/industrialio-core.c
@@ -313,7 +313,7 @@ int __iio_device_attr_init(struct device_attribute *dev_attr,
goto error_ret;
}
- if (chan->differential) { /* Differential can not have modifier */
+ if (chan->differential) { /* Differential can not have modifier */
if (generic)
name_format
= kasprintf(GFP_KERNEL, "%s_%s-%s_%s",
@@ -547,7 +547,7 @@ static int iio_device_register_sysfs(struct iio_dev *indio_dev)
attrcount = attrcount_orig;
/*
* New channel registration method - relies on the fact a group does
- * not need to be initialized if it is name is NULL.
+ * not need to be initialized if it is name is NULL.
*/
INIT_LIST_HEAD(&indio_dev->channel_attr_list);
if (indio_dev->channels)
OpenPOWER on IntegriCloud