diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-09-11 11:33:50 +0800 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2020-10-07 15:14:07 +0200 |
commit | abea14bfdebbe9bd02f2ad24a1f3a878ed21c8f0 (patch) | |
tree | 5199de5bd15f42268b1c7605c9c7d410d9caef04 /drivers/hwmon/asb100.c | |
parent | cc3a392d69b62e21d016f0d45be688af133f9122 (diff) | |
download | linux-abea14bfdebbe9bd02f2ad24a1f3a878ed21c8f0.tar.bz2 |
i3c: master: Fix error return in cdns_i3c_master_probe()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0.
Fixes: 603f2bee2c54 ("i3c: master: Add driver for Cadence IP")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-i3c/20200911033350.23904-1-jingxiangfeng@huawei.com
Diffstat (limited to 'drivers/hwmon/asb100.c')
0 files changed, 0 insertions, 0 deletions