Legacy class-based device auto-detection shouldn't be used in new code. Therefore remove support in i2c-mux-reg as long as we don't have a user of this feature yet.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -17,7 +17,6 @@ · 16 unmodified lines | ||
| 17 | 17 | * @n_values: Number of multiplexer channels |
| 18 | 18 | * @little_endian: Indicating if the register is in little endian |
| 19 | 19 | * @write_only: Reading the register is not allowed by hardware |
| 20 | − * @classes: Optional I2C auto-detection classes | |
| 21 | 20 | * @idle: Value to write to mux when idle |
| 22 | 21 | * @idle_in_use: indicate if idle value is in use |
| 23 | 22 | * @reg: Virtual address of the register to switch channel |
| @@ -30,7 +29,6 @@ struct i2c_mux_reg_platform_data { · 6 unmodified lines | ||
| 30 | 29 | int n_values; |
| 31 | 30 | bool little_endian; |
| 32 | 31 | bool write_only; |
| 33 | − const unsigned int *classes; | |
| 34 | 32 | u32 idle; |
| 35 | 33 | bool idle_in_use; |
| 36 | 34 | void __iomem *reg; |