summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tegra.c
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-28 15:20:39 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-09-02 13:27:35 +0300
commit30a32e93117abf8b467897f4814e9b1261b3b803 (patch)
treea3edbcd9b687431452ce8b0bdeaa7897261cac8f /drivers/gpio/gpio-tegra.c
parent931a36c4138ac418d487bd4db0d03780b46a77ba (diff)
downloadlinux-30a32e93117abf8b467897f4814e9b1261b3b803.tar.xz
gpio: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. No functional changes are intended. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Link: https://lore.kernel.org/r/20240828122039.3697037-1-lihongbo22@huawei.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
0 files changed, 0 insertions, 0 deletions