mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
staging:iio: Move the ad7298 driver out of staging
The driver does not expose any custom API to userspace and none of the standard static code checker tools report any issues, so move it out of staging. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
dc4871adf9
commit
709ab36e95
6 changed files with 16 additions and 17 deletions
20
include/linux/platform_data/ad7298.h
Normal file
20
include/linux/platform_data/ad7298.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* AD7298 SPI ADC driver
|
||||
*
|
||||
* Copyright 2011 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_PLATFORM_DATA_AD7298_H__
|
||||
#define __LINUX_PLATFORM_DATA_AD7298_H__
|
||||
|
||||
/**
|
||||
* struct ad7298_platform_data - Platform data for the ad7298 ADC driver
|
||||
* @ext_ref: Whether to use an external reference voltage.
|
||||
**/
|
||||
struct ad7298_platform_data {
|
||||
bool ext_ref;
|
||||
};
|
||||
|
||||
#endif /* IIO_ADC_AD7298_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue