summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-configfs.c
Commit message (Collapse)AuthorAgeFilesLines
* iio:configfs: Introduce iio/configfs.h to provide a location for the ↵Jonathan Cameron2015-12-051-0/+1
| | | | | | | | | | | configfs_subsystem This exported element needs to be accesible to all drivers using configfs within IIO. Previously it was in the sw_trig.h file which only convered one such usecase. This also fixes a sparse warning as it is now in a header that makes sense to include from industrialio-configfs.c Signed-off-by: Jonathan Cameron < jic23@kernel.org>
* iio: core: Introduce IIO configfs supportDaniel Baluta2015-12-031-0/+50
This patch creates the IIO configfs root group. The group will appear under <mount-point>/iio/, usually /config/iio. We introduce configfs support in IIO in order to be able to easily create IIO objects from userspace. The first supported IIO objects are triggers introduced with next patches. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Tested-by: Matt Ranostay <matt.ranostay@intel> Signed-off-by: Jonathan Cameron <jic23@kernel.org>