devicetree.c (f01387d2693813eb5271a3448e6a082322c7d75d) devicetree.c (c5272a28566b00cce79127ad382406e0a8650690)
1/*
2 * Device tree integration for the pin control subsystem
3 *
4 * 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.

--- 78 unchanged lines hidden (view full) ---

87 return -ENOMEM;
88 }
89
90 dt_map->pctldev = pctldev;
91 dt_map->map = map;
92 dt_map->num_maps = num_maps;
93 list_add_tail(&dt_map->node, &p->dt_maps);
94
1/*
2 * Device tree integration for the pin control subsystem
3 *
4 * 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.

--- 78 unchanged lines hidden (view full) ---

87 return -ENOMEM;
88 }
89
90 dt_map->pctldev = pctldev;
91 dt_map->map = map;
92 dt_map->num_maps = num_maps;
93 list_add_tail(&dt_map->node, &p->dt_maps);
94
95 return pinctrl_register_map(map, num_maps, false, true);
95 return pinctrl_register_map(map, num_maps, false);
96}
97
98struct pinctrl_dev *of_pinctrl_get(struct device_node *np)
99{
100 struct pinctrl_dev *pctldev;
101
102 pctldev = get_pinctrl_dev_from_of_node(np);
103 if (!pctldev)

--- 153 unchanged lines hidden ---
96}
97
98struct pinctrl_dev *of_pinctrl_get(struct device_node *np)
99{
100 struct pinctrl_dev *pctldev;
101
102 pctldev = get_pinctrl_dev_from_of_node(np);
103 if (!pctldev)

--- 153 unchanged lines hidden ---