i801 as only user of gpio i2c mux removed support for class-based device instantiation on muxed busses. Class-based device instantiation is a legacy mechanism and shouldn't be used in new code, therefore remove support also here.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -18,7 +18,6 @@ · 17 unmodified lines | |||
| 18 | * @values: Array of bitmasks of GPIO settings (low/high) for each | 18 | * @values: Array of bitmasks of GPIO settings (low/high) for each |
| 19 | * position | 19 | * position |
| 20 | * @n_values: Number of multiplexer positions (busses to instantiate) | 20 | * @n_values: Number of multiplexer positions (busses to instantiate) |
| 21 | * @classes: Optional I2C auto-detection classes | ||
| 22 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used | 21 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used |
| 23 | */ | 22 | */ |
| 24 | struct i2c_mux_gpio_platform_data { | 23 | struct i2c_mux_gpio_platform_data { |
| @@ -26,7 +25,6 @@ struct i2c_mux_gpio_platform_data { · 1 unmodified line | |||
| 26 | int base_nr; | 25 | int base_nr; |
| 27 | const unsigned *values; | 26 | const unsigned *values; |
| 28 | int n_values; | 27 | int n_values; |
| 29 | const unsigned *classes; | ||
| 30 | unsigned idle; | 28 | unsigned idle; |
| 31 | }; | 29 | }; |
| 32 | 30 | ||