projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc11699
)
iio: lp8788_adc: fix parent device in kernel message
author
Kim, Milo
<Milo.Kim@ti.com>
Thu, 3 Jan 2013 06:28:00 +0000
(06:28 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 6 Jan 2013 11:35:31 +0000
(11:35 +0000)
Use 'dev' of iio device in a kernel message rather than i2c client device node.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/lp8788_adc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/lp8788_adc.c
b/drivers/iio/adc/lp8788_adc.c
index 9b9c26dca753af4bad1013d85d767fb5535c5612..f8ae81cae9cff6a0f183ba63987305b3025b2029 100644
(file)
--- a/
drivers/iio/adc/lp8788_adc.c
+++ b/
drivers/iio/adc/lp8788_adc.c
@@
-179,7
+179,7
@@
static int lp8788_iio_map_register(struct iio_dev *indio_dev,
ret = iio_map_array_register(indio_dev, map);
if (ret) {
- dev_err(
adc->lp
->dev, "iio map err: %d\n", ret);
+ dev_err(
&indio_dev
->dev, "iio map err: %d\n", ret);
return ret;
}