hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/pinctrl/pinconf.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface the pinconfig portions of the pinctrl subsystem
34 *
....@@ -6,15 +7,11 @@
67 * This interface is used in the core to keep track of pins.
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9
- *
10
- * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_PINCONF_H
1312 #define __LINUX_PINCTRL_PINCONF_H
1413
15
-#ifdef CONFIG_PINCONF
16
-
17
-#include <linux/pinctrl/machine.h>
14
+#include <linux/types.h>
1815
1916 struct pinctrl_dev;
2017 struct seq_file;
....@@ -31,7 +28,6 @@
3128 * @pin_config_group_get: get configurations for an entire pin group; should
3229 * return -ENOTSUPP and -EINVAL using the same rules as pin_config_get.
3330 * @pin_config_group_set: configure all pins in a group
34
- * @pin_config_dbg_parse_modify: optional debugfs to modify a pin configuration
3531 * @pin_config_dbg_show: optional debugfs display hook that will provide
3632 * per-device info for a certain pin in debugfs
3733 * @pin_config_group_dbg_show: optional debugfs display hook that will provide
....@@ -57,9 +53,6 @@
5753 unsigned selector,
5854 unsigned long *configs,
5955 unsigned num_configs);
60
- int (*pin_config_dbg_parse_modify) (struct pinctrl_dev *pctldev,
61
- const char *arg,
62
- unsigned long *config);
6356 void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev,
6457 struct seq_file *s,
6558 unsigned offset);
....@@ -70,7 +63,5 @@
7063 struct seq_file *s,
7164 unsigned long config);
7265 };
73
-
74
-#endif
7566
7667 #endif /* __LINUX_PINCTRL_PINCONF_H */