mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
9ca39411f9
Since if there is no GPIO, nothing happens, replace devm_gpiod_get()
with devm_gpiod_get_optional().
Also add IS_ERR() to fix the missing-check warning.
Fixes:
|
||
---|---|---|
.. | ||
ad8366.c | ||
hmc425a.c | ||
Kconfig | ||
Makefile |