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
18 * @values: Array of bitmasks of GPIO settings (low/high) for each18 * @values: Array of bitmasks of GPIO settings (low/high) for each
19 * position19 * 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 used21 * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used
23 */22 */
24struct i2c_mux_gpio_platform_data {23struct 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

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