]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: dac: mcp4725: set iio name property in sysfs
authorYong Li <sdliyong@gmail.com>
Wed, 6 Jan 2016 01:09:43 +0000 (09:09 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 9 Jan 2016 16:33:41 +0000 (16:33 +0000)
commit97a249e98a72d6b79fb7350a8dd56b147e9d5bdb
tree98c5da685a756acce8ec338be8ddfbfc2a06ea62
parent005ce0713006a76d2b0c924ce0e2629e5d8510c3
iio: dac: mcp4725: set iio name property in sysfs

Without this change, the name entity for mcp4725 is missing in
/sys/bus/iio/devices/iio\:device*/name

With this change, name is reported correctly

Signed-off-by: Yong Li <sdliyong@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/mcp4725.c