staging: iio: hmc5843: Set iio name property in sysfs
authorMarek Belisko <marek@goldelico.com>
Sat, 28 Feb 2015 20:54:42 +0000 (21:54 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Mar 2015 18:36:15 +0000 (18:36 +0000)
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 <marek@goldelico.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found