diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c index e495117735e1..cf02dbca5458 100644 --- a/drivers/gpu/drm/drm_of.c +++ b/drivers/gpu/drm/drm_of.c @@ -550,8 +550,8 @@ EXPORT_SYMBOL_GPL(drm_of_lvds_get_data_mapping); * * Return: * * min..max - positive integer count of "data-lanes" elements - * * -ve - the "data-lanes" property is missing or invalid - * * -EINVAL - the "data-lanes" property is unsupported + * * -ENODATA - the property does not have a value. + * * -EINVAL - the "data-lanes" property is missing or invalid */ int drm_of_get_data_lanes_count(const struct device_node *endpoint, const unsigned int min, const unsigned int max) @@ -582,8 +582,8 @@ EXPORT_SYMBOL_GPL(drm_of_get_data_lanes_count); * * Return: * * min..max - positive integer count of "data-lanes" elements - * * -EINVAL - the "data-mapping" property is unsupported - * * -ENODEV - the "data-mapping" property is missing + * * -ENODATA - the property does not have a value. + * * -EINVAL - the "data-lanes" property is missing or invalid */ int drm_of_get_data_lanes_count_ep(const struct device_node *port, int port_reg, int reg,