diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-10-02 17:42:04 +0300 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-10-02 23:47:51 +0200 |
| commit | 39b717b20c09028ee293b949a96325c0aa89a1a0 (patch) | |
| tree | e6a2ecb8d5e9ae90b3a97cb9fc6506de8b045ef0 /include/linux/debugobjects.h | |
| parent | b89f7dd31aa319b2e9a8c50ee7d4755031fecce6 (diff) | |
pinctrl: ambarella: fix NULL vs IS_ERR() bug in amb_pinctrl_register()
The devm_kasprintf_strarray() function never returns NULL, it returns
error pointers on error or a valid pointer on success. Fix the error
checking to match.
Fixes: b40e9d140c24 ("pinctrl: ambarella: add CV75 pin controller")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
