summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-04-15 23:48:42 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 01:56:30 +0300
commit073e58bf6b1a689da2ffcfc7fc515005f8794018 (patch)
tree08daec61e4c17a4a28d32342f07811fe05c79efb /include/linux/platform_data
parent780868fc480ee8e89e8db89c7946716cc75a36e9 (diff)
downloadlinux-073e58bf6b1a689da2ffcfc7fc515005f8794018.tar.xz
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. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/i2c-mux-gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/platform_data/i2c-mux-gpio.h b/include/linux/platform_data/i2c-mux-gpio.h
index 5e4c2c272a73..816a4cd3ccb5 100644
--- a/include/linux/platform_data/i2c-mux-gpio.h
+++ b/include/linux/platform_data/i2c-mux-gpio.h
@@ -18,7 +18,6 @@
* @values: Array of bitmasks of GPIO settings (low/high) for each
* position
* @n_values: Number of multiplexer positions (busses to instantiate)
- * @classes: Optional I2C auto-detection classes
* @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used
*/
struct i2c_mux_gpio_platform_data {
@@ -26,7 +25,6 @@ struct i2c_mux_gpio_platform_data {
int base_nr;
const unsigned *values;
int n_values;
- const unsigned *classes;
unsigned idle;
};