iio: dummy: Convert IIO dummy to configfs
authorDaniel Baluta <daniel.baluta@intel.com>
Mon, 25 Apr 2016 13:15:52 +0000 (16:15 +0300)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:44:06 +0000 (11:44 +0100)
commit3d85fb6f81046b51e4428e14fb9643ea75648630
tree0f789377dc6077134085de3eec585e1790d6613b
parent0f3a8c3f34f728e7c96651bb7271e1c388c9aac2
iio: dummy: Convert IIO dummy to configfs

We register a new device type named "dummy", this will create a
configfs entry under:
* /config/iio/devices/dummy.

Creating dummy devices is now as simple as:

$ mkdir /config/iio/devices/dummy/my_dummy_device

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dummy/Kconfig
drivers/iio/dummy/iio_simple_dummy.c