aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-mux-pinctrl.h
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2017-05-21 18:48:07 +0200
committerPeter Rosin <peda@axentia.se>2017-08-14 11:54:17 +0200
commitc4aee3e1b0de8e732fafd0d13e75ab7bdbc606ef (patch)
treee6455a1f72a65ec0adce62c468660a0b710e8252 /include/linux/i2c-mux-pinctrl.h
parenti2c: mux: mlxcpld: move header file out of I2C realm (diff)
downloadlinux-dev-c4aee3e1b0de8e732fafd0d13e75ab7bdbc606ef.tar.xz
linux-dev-c4aee3e1b0de8e732fafd0d13e75ab7bdbc606ef.zip
i2c: mux: pinctrl: remove platform_data
No platform (at least no upstreamed platform) has ever used this platform_data. Just drop it and simplify the code. Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to '')
-rw-r--r--include/linux/i2c-mux-pinctrl.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/include/linux/i2c-mux-pinctrl.h b/include/linux/i2c-mux-pinctrl.h
deleted file mode 100644
index a65c86429e84..000000000000
--- a/include/linux/i2c-mux-pinctrl.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * i2c-mux-pinctrl platform data
- *
- * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef _LINUX_I2C_MUX_PINCTRL_H
-#define _LINUX_I2C_MUX_PINCTRL_H
-
-/**
- * struct i2c_mux_pinctrl_platform_data - Platform data for i2c-mux-pinctrl
- * @parent_bus_num: Parent I2C bus number
- * @base_bus_num: Base I2C bus number for the child busses. 0 for dynamic.
- * @bus_count: Number of child busses. Also the number of elements in
- * @pinctrl_states
- * @pinctrl_states: The names of the pinctrl state to select for each child bus
- * @pinctrl_state_idle: The pinctrl state to select when no child bus is being
- * accessed. If NULL, the most recently used pinctrl state will be left
- * selected.
- */
-struct i2c_mux_pinctrl_platform_data {
- int parent_bus_num;
- int base_bus_num;
- int bus_count;
- const char **pinctrl_states;
- const char *pinctrl_state_idle;
-};
-
-#endif