diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-08-19 04:06:29 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-23 08:56:29 +0200 |
commit | 6c325f874c9a4b5a783ed6c4a88fdddfc380acb1 (patch) | |
tree | e1e0ce004541036b72541e17e0facaaa98b028de /drivers/pinctrl/pinmux.c | |
parent | Documentation: pinctrl: Fix example code for pinctrl_register (diff) | |
download | linux-6c325f874c9a4b5a783ed6c4a88fdddfc380acb1.tar.xz linux-6c325f874c9a4b5a783ed6c4a88fdddfc380acb1.zip |
pinctrl: core: Remove unnecessary test for desc->name
The implementation in pinctrl_register_one_pin() ensures pindesc->name is always
not NULL before insert the pindesc to radix tree.
If the desc return from pin_desc_get is not NULL, desc->name is always not NULL.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
0 files changed, 0 insertions, 0 deletions