diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-07 17:35:50 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-03-25 14:06:37 +0300 |
commit | 540d3f15c0aa2baf7e9b48a4e516391c179daab2 (patch) | |
tree | c0462fc76971231ee9cc9472798e80aaa2b9f1c6 /mm/gup.c | |
parent | ef2b810e1152d77686032e7dc064ff89b4350b00 (diff) | |
download | linux-540d3f15c0aa2baf7e9b48a4e516391c179daab2.tar.xz |
w1: gpio: Remove duplicate NULL checks
gpiod_set_value() is NULL-aware, no need to check that in the caller.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240307143644.3787260-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions