Skip to content
Snippets Groups Projects
user avatar
Simon Glass authored
In U-Boot -ENODEV means that there is no device. When there is a problem
with the device, drivers should return an error like -ENXIO or -EREMOTEIO.
When the device tree properties cannot be read correct , they should
return -EINVAL.

Update various GPIO drivers to follow this rule, to help with consistency
for future driver writers.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarAdam Ford <aford173@gmail.com>
7c84319a
History
Name Last commit Last update