[PATCH] staging: iio: hmc5843: Set iio name property in sysfs

2015-02-28 Thread Marek Belisko
Without this change file name for hmc5843 is empty in /sys/bus/iio/devices/iio\:device*/name With this change name is reported correctly: cat /sys/bus/iio/devices/iio\:device*/name hmc5843 Signed-off-by: Marek Belisko --- drivers/staging/iio/magnetometer/hmc5843_core.c | 1 + 1 file changed, 1

[PATCH 2/2] Documentation: iio: Extend documentation for hmc5843 bindings.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt b/Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt index 90d5f34

[PATCH 1/2] staging: iio: hmc5843: Add all available models to device tree id table.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko --- drivers/staging/iio/magnetometer/hmc5843.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c index d4f4dd9..f595fdc 100644 --- a/drivers/staging/iio