Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dd032e8d
Commit
dd032e8d
authored
Jun 23, 2016
by
Linus Walleij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'devel-dt-free-map' into devel
parents
7440926e
8dfebf57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
drivers/pinctrl/pinconf-generic.c
drivers/pinctrl/pinconf-generic.c
+8
-0
include/linux/pinctrl/pinconf-generic.h
include/linux/pinctrl/pinconf-generic.h
+2
-0
No files found.
drivers/pinctrl/pinconf-generic.c
View file @
dd032e8d
...
...
@@ -395,4 +395,12 @@ int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev,
}
EXPORT_SYMBOL_GPL
(
pinconf_generic_dt_node_to_map
);
void
pinconf_generic_dt_free_map
(
struct
pinctrl_dev
*
pctldev
,
struct
pinctrl_map
*
map
,
unsigned
num_maps
)
{
pinctrl_utils_free_map
(
pctldev
,
map
,
num_maps
);
}
EXPORT_SYMBOL_GPL
(
pinconf_generic_dt_free_map
);
#endif
include/linux/pinctrl/pinconf-generic.h
View file @
dd032e8d
...
...
@@ -175,6 +175,8 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
int
pinconf_generic_dt_node_to_map
(
struct
pinctrl_dev
*
pctldev
,
struct
device_node
*
np_config
,
struct
pinctrl_map
**
map
,
unsigned
*
num_maps
,
enum
pinctrl_map_type
type
);
void
pinconf_generic_dt_free_map
(
struct
pinctrl_dev
*
pctldev
,
struct
pinctrl_map
*
map
,
unsigned
num_maps
);
static
inline
int
pinconf_generic_dt_node_to_map_group
(
struct
pinctrl_dev
*
pctldev
,
struct
device_node
*
np_config
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment