diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-22 22:25:58 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-24 06:24:52 +0100 |
commit | 1681f5ae4ca25bddb6f7b6d4f463cc83e3d1ad01 (patch) | |
tree | fc37580130beadbc5e0898ddb9b5fec32b662859 /lib/hexdump.c | |
parent | pinctrl: fix pinconf_groups_show() to emit newline (diff) | |
download | linux-1681f5ae4ca25bddb6f7b6d4f463cc83e3d1ad01.tar.xz linux-1681f5ae4ca25bddb6f7b6d4f463cc83e3d1ad01.zip |
pinctrl: disallow map table entries with NULL dev_name field
Hog entries are mapping table entries with .ctrl_dev_name == .dev_name.
All other mapping table entries need .dev_name set so that they will
match some pinctrl_get() call. All extant PIN_MAP*() macros set
.dev_name.
So, there is no reason to allow mapping table entries without .dev_name
set. Update the code and documentation to disallow this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions