]> git.baikalelectronics.ru Git - kernel.git/commit
iio: Be consistent with allocation result tests.
authorJoe Simmons-Talbott <joetalbott@gmail.com>
Mon, 18 Jul 2022 02:03:48 +0000 (22:03 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 18 Jul 2022 17:29:30 +0000 (18:29 +0100)
commit6a6734d310023a1ebc59a33bcdf6c4842ff50232
treec0d6c1f91ee21205a0a852fe67c5fa1064077e93
parent24cbc1ac79daf733b406f9e9470853af1666e8e0
iio: Be consistent with allocation result tests.

Make both allocation result tests use the same format

    if (!ptr)

Signed-off-by: Joe Simmons-Talbott <joetalbott@gmail.com>
Link: https://lore.kernel.org/r/20220718020348.32047-1-joetalbott@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-trigger.c