History

i2c: mux: gpio: remove support for class-based device instantiation

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.

Heiner Kallweit committed 2 years ago

Commit 073e58b1 parent 780868f2 files · +1 −4Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/i2c-mux-gpio.h+0−2
@@ -18,7 +18,6 @@ · 17 unmodified lines
1818 * @values: Array of bitmasks of GPIO settings (low/high) for each
1919 * position
2020 * @n_values: Number of multiplexer positions (busses to instantiate)
21− * @classes: Optional I2C auto-detection classes
2221 * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used
2322 */
2423 struct i2c_mux_gpio_platform_data {
@@ -26,7 +25,6 @@ struct i2c_mux_gpio_platform_data { · 1 unmodified line
2625 int base_nr;
2726 const unsigned *values;
2827 int n_values;
29− const unsigned *classes;
3028 unsigned idle;
3129 };
3230

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t