[PATCH v3] staging: lirc_zilog: Clean up lirc zilog error codes

2017-07-13 Thread Yves Lemée
According the coding style guidelines, the ENOSYS error code must be returned in case of a non existent system call. This code has been replaced with the ENOTTY error code indicating a missing functionality. Signed-off-by: Yves Lemée --- v3: Fixed patch subject Fixed patch revision

[PATCH v2] [media] lirc_zilog: Clean up lirc zilog error codes

2017-07-12 Thread Yves Lemée
According the coding style guidelines, the ENOSYS error code must be returned in case of a non existent system call. This code has been replaced with the ENOTTY error code indicating a missing functionality. v2: Improved punctuation Fixed patch subject Signed-off-by: Yves Lemée --- drivers

[PATCH] Clean up lirc zilog error codes

2017-07-11 Thread Yves Lemée
According the coding style guidelines, the ENOSYS error code must be returned in case of a non existent system call. This code has been replaced with the ENOTTY error code indicating, a missing functionality. Signed-off-by: Yves Lemée --- drivers/staging/media/lirc/lirc_zilog.c | 10