]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 12 Apr 2016 02:07:36 +0000 (22:07 -0400)
commit5b20b25abab6faba0c91a4d7ccde93e134f29d6d
tree97a91bafc6b8015048f9a5dab0609146597c9e71
parent3e77cb858ce67861e142186e3b131c04ddbc6edd
iio: dac: mcp4725: set iio name property in sysfs

[ Upstream commit 97a249e98a72d6b79fb7350a8dd56b147e9d5bdb ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/iio/dac/mcp4725.c