commit | e7f4c4bf99ad5edca35ccc18105daf5279b54919 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 14 12:12:09 2017 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 20 11:36:17 2017 +0200 |
tree | 5d6ac44dcaabd583f2880c07a28324cfa5c6ea00 | |
parent | 1bd303dc04c3f744474e77c153575087b657f7e1 [diff] |
pinctrl: ingenic: checking for NULL instead of IS_ERR() devm_pinctrl_register() returns error pointers, it doesn't return NULL. Fixes: b5c23aa46537 ("pinctrl: add a pinctrl driver for the Ingenic jz47xx SoCs") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>