diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-12-04 15:29:29 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-12-04 15:42:15 +0100 |
commit | 35ddd61cf023b5deb2b7e9f1627abef053281c0a (patch) | |
tree | 16c65bfeef8263cf7fb007a1bb07dc9c051cd342 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6e79648553818bb21021ccf72ae27f4508844818 (diff) |
platform/x86: x86-android-tablets: Fix an IS_ERR() vs NULL check in probe
The spi_new_device() function returns NULL on error, it doesn't return
error pointers.
Fixes: 70505ea6de24 ("platform/x86: x86-android-tablets: Add support for SPI device instantiation")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/4b1b2395-c7c5-44a4-b0b0-6d091c7f46a2@moroto.mountain
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions