projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19afba1
)
iio: ak8975: Add device name
author
Beomho Seo
<beomho.seo@samsung.com>
Mon, 10 Feb 2014 01:01:57 +0000
(10:01 +0900)
committer
Chanho Park
<chanho61.park@samsung.com>
Thu, 20 Mar 2014 08:43:39 +0000
(17:43 +0900)
This patch add device name.
Change-Id: Icda321686ee9c9809463592bddfbaa87563aeae4
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
drivers/iio/magnetometer/ak8975.c
patch
|
blob
|
history
diff --git
a/drivers/iio/magnetometer/ak8975.c
b/drivers/iio/magnetometer/ak8975.c
index
9edf4c9
..
fb3aefe
100644
(file)
--- a/
drivers/iio/magnetometer/ak8975.c
+++ b/
drivers/iio/magnetometer/ak8975.c
@@
-513,6
+513,7
@@
static int ak8975_probe(struct i2c_client *client,
indio_dev->channels = ak8975_channels;
indio_dev->num_channels = ARRAY_SIZE(ak8975_channels);
indio_dev->info = &ak8975_info;
+ indio_dev->name = id->name;
indio_dev->modes = INDIO_DIRECT_MODE;
err = iio_device_register(indio_dev);