hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/include/linux/platform_data/ad7266.h
....@@ -1,9 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD7266/65 SPI ADC driver
34 *
45 * Copyright 2012 Analog Devices Inc.
5
- *
6
- * Licensed under the GPL-2.
76 */
87
98 #ifndef __IIO_ADC_AD7266_H__
....@@ -41,14 +40,11 @@
4140 * @range: Reference voltage range the device is configured for
4241 * @mode: Sample mode the device is configured for
4342 * @fixed_addr: Whether the address pins are hard-wired
44
- * @addr_gpios: GPIOs used for controlling the address pins, only used if
45
- * fixed_addr is set to false.
4643 */
4744 struct ad7266_platform_data {
4845 enum ad7266_range range;
4946 enum ad7266_mode mode;
5047 bool fixed_addr;
51
- unsigned int addr_gpios[3];
5248 };
5349
5450 #endif