diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-30 12:50:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-09 00:17:30 +0400 |
commit | 3b1cae7c2c2b801b8530db07a02587bc1a41b3fe (patch) | |
tree | be8dcd14bd0ff70d076eb8b1b26b87592fb68e77 /include/linux/platform_data/ad7291.h | |
parent | cfa71bf35c87c79ad9a03a29a7426b495446b2bf (diff) | |
download | linux-3b1cae7c2c2b801b8530db07a02587bc1a41b3fe.tar.xz |
staging:iio:ad7291: Move out of staging
The ad7291 driver is in a reasonable shape. It does not use non-standard API/ABI
and there are no major style issues with the driver. So this patch moves it out
of staging.
There is one small warning from checkpatch which is also fixed in this patch.
The patch also sorts the #include directives in alphabetical order.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/platform_data/ad7291.h')
-rw-r--r-- | include/linux/platform_data/ad7291.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/platform_data/ad7291.h b/include/linux/platform_data/ad7291.h new file mode 100644 index 000000000000..bbd89fa51188 --- /dev/null +++ b/include/linux/platform_data/ad7291.h @@ -0,0 +1,12 @@ +#ifndef __IIO_AD7291_H__ +#define __IIO_AD7291_H__ + +/** + * struct ad7291_platform_data - AD7291 platform data + * @use_external_ref: Whether to use an external or internal reference voltage + */ +struct ad7291_platform_data { + bool use_external_ref; +}; + +#endif |