iio: dac: mcp4725: set iio name property in sysfs

commit 97a249e98a upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Yong Li 2016-01-06 09:09:43 +08:00 • committed by Greg Kroah-Hartman
commit 377d1f5938