On 2/12/21 6:13 AM, William Breathitt Gray wrote:
ERANGE is a semantically better error code to return when an argument
value falls outside the supported limit range of a device.
Cc: Syed Nayyar Waris <syednwa...@gmail.com>
Cc: Fabrice Gasnier <fabrice.gasn...@st.com>
Cc: Maxime Coquelin <mcoquelin.st...@gmail.com>
Cc: Alexandre Torgue <alexandre.tor...@st.com>
Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com>
---
Reviewed-by: David Lechner <da...@lechnology.com>
(I agree with William's assessment that this use of ERANGE
is consistent with other uses in the kernel.)