[PATCH v3 9/9] pinctrl: Return -ENOSYS when system call is not available

2021-03-24 Thread Simon Glass
Update the code to use -ENOSYS, which is the correct error code for an unimplemented system call in U-Boot. Also we should not check for a missing operations array as this is not permitted. For now this can be covered by an assert(). Signed-off-by: Simon Glass --- (no changes since v1) driver

Re: [PATCH v3 9/9] pinctrl: Return -ENOSYS when system call is not available

2021-04-05 Thread Simon Glass
Update the code to use -ENOSYS, which is the correct error code for an unimplemented system call in U-Boot. Also we should not check for a missing operations array as this is not permitted. For now this can be covered by an assert(). Signed-off-by: Simon Glass --- (no changes since v1) driver