diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-23 17:04:39 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-29 19:10:55 +0100 |
commit | 806d314325812fb8ffe7059bd84a23d334350c21 (patch) | |
tree | ce904d5ddab97e25b71b547f7b20844d507b9529 /init | |
parent | 1cf94c45ca31c0ad563e72b095782346cba26b6c (diff) |
pinctrl: re-order struct pinctrl_map
The lookup key in struct pinctrl_map is (.dev_name, .name). Re-order the
struct definition to put the lookup key fields first, and the result
values afterwards. To me at least, this slightly better reflects the
lookup process.
Update the documentation in a similar fashion.
Note: PIN_MAP*() macros aren't updated; I plan to update this once later
when enhancing the mapping table format to support pin config to reduce
churn.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
[Rebased for cherry-picking]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions