commit | 6c325f874c9a4b5a783ed6c4a88fdddfc380acb1 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Aug 19 10:06:29 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Aug 23 08:56:29 2013 +0200 |
tree | e1e0ce004541036b72541e17e0facaaa98b028de | |
parent | e2b86b8481502f3f3039a31aa1a85b8a29e246f1 [diff] |
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>