summaryrefslogtreecommitdiffstats
path: root/include/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/led.h')
-rw-r--r--include/led.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/led.h b/include/led.h
index 8925d75bcf..b929d0ca3c 100644
--- a/include/led.h
+++ b/include/led.h
@@ -35,7 +35,7 @@ struct led_ops {
*
* @label: LED label to look up
* @devp: Returns the associated device, if found
- * @return 0 if found, -ve on error
+ * @return 0 if found, -ENODEV if not found, other -ve on error
*/
int led_get_by_label(const char *label, struct udevice **devp);
OpenPOWER on IntegriCloud