Nothing in this driver depends on OF firmware so drop the dependency and update the headers to remove the false impression such a dependency exists.
Unified · Split
| @@ -1166,7 +1166,7 @@ config TI_ADS8688 · 1165 unmodified lines | |||
| 1166 | 1166 | ||
| 1167 | config TI_ADS124S08 | 1167 | config TI_ADS124S08 |
| 1168 | tristate "Texas Instruments ADS124S08" | 1168 | tristate "Texas Instruments ADS124S08" |
| 1169 | depends on SPI && OF | 1169 | depends on SPI |
| 1170 | help | 1170 | help |
| 1171 | If you say yes here you get support for Texas Instruments ADS124S08 | 1171 | If you say yes here you get support for Texas Instruments ADS124S08 |
| 1172 | and ADS124S06 ADC chips | 1172 | and ADS124S06 ADC chips |
| @@ -8,8 +8,7 @@ · 7 unmodified lines | |||
| 8 | #include <linux/device.h> | 8 | #include <linux/device.h> |
| 9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
| 10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
| 11 | #include <linux/of.h> | 11 | #include <linux/mod_devicetable.h> |
| 12 | #include <linux/of_gpio.h> | ||
| 13 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
| 14 | #include <linux/sysfs.h> | 13 | #include <linux/sysfs.h> |
| 15 | 14 | ||