commit | c7df94c64ca20d13ba0b9442e355f80a1f5c3e43 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 28 17:40:22 2019 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 08 13:06:30 2019 +0200 |
tree | 19f1ac705d1499a2f03a735566983948beb99580 | |
parent | 5e73de3413c5e0c104588a197cbd158baa085aca [diff] |
pinctrl: imx: remove an unnecessary NULL check The address of "ipctl->pin_regs[pin_id]" can't be NULL. It's the offset into an array in the middle of a struct. This patch removes the check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>