diff options
| author | Dan Carpenter <[email protected]> | 2017-06-14 12:12:09 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-06-20 11:36:17 +0200 |
| commit | e7f4c4bf99ad5edca35ccc18105daf5279b54919 (patch) | |
| tree | 5d6ac44dcaabd583f2880c07a28324cfa5c6ea00 /net/switchdev/switchdev.c | |
| 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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions