]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/iio/sw_device.h
iio: Add support for creating IIO devices via configfs
authorDaniel Baluta <daniel.baluta@intel.com>
Mon, 25 Apr 2016 13:15:51 +0000 (16:15 +0300)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:43:54 +0000 (11:43 +0100)
commit0f3a8c3f34f728e7c96651bb7271e1c388c9aac2
treead4c901f99f6245a4221e446ec85ad78ca2e7364
parent0825cce21f764c04a96b719af2b491011bc6c523
iio: Add support for creating IIO devices via configfs

This is similar with support for creating triggers via configfs.
Devices will be hosted under:
* /config/iio/devices

We allow users to register "device types" under:
* /config/iio/devices/<device_types>/

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/industrialio-sw-device.c [new file with mode: 0644]
include/linux/iio/sw_device.h [new file with mode: 0644]