hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/pinctrl/devicetree.h
....@@ -1,26 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Internal interface to pinctrl device tree integration
34 *
45 * Copyright (C) 2012 NVIDIA CORPORATION. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187
198 struct of_phandle_args;
209
2110 #ifdef CONFIG_OF
22
-
23
-bool pinctrl_dt_has_hogs(struct pinctrl_dev *pctldev);
2411
2512 void pinctrl_dt_free_maps(struct pinctrl *p);
2613 int pinctrl_dt_to_map(struct pinctrl *p, struct pinctrl_dev *pctldev);
....@@ -33,11 +20,6 @@
3320 struct of_phandle_args *out_args);
3421
3522 #else
36
-
37
-static inline bool pinctrl_dt_has_hogs(struct pinctrl_dev *pctldev)
38
-{
39
- return false;
40
-}
4123
4224 static inline int pinctrl_dt_to_map(struct pinctrl *p,
4325 struct pinctrl_dev *pctldev)