summaryrefslogtreecommitdiff
path: root/include/linux/iio/driver.h
AgeCommit message (Collapse)AuthorFilesLines
2019-04-04iio: Make possible to include driver.h firstAndy Shevchenko1-0/+1
If we put headers alphabetically sorted in the IIO driver, the compilation will abort because of unknown type to handle. Simple add a forward declaration of opaque struct iio_dev. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2013-02-02iio: Simplify iio_map_array_unregister APIGuenter Roeck1-6/+3
Instead of requiring the map to unregister, simply unregister all map entries associated with the given iio device. This simplifies map removal and also works for maps generated through devicetree. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-04-25IIO: Move core headers to include/linux/iioJonathan Cameron1-0/+34
Step 1 in moving the IIO core out of staging. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>