]> git.baikalelectronics.ru Git - kernel.git/commit
media: lirc_zilog: Clean up lirc zilog error codes
authorYves Lemée <yves.lemee.kernel@gmail.com>
Wed, 12 Jul 2017 19:17:37 +0000 (15:17 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:47:28 +0000 (09:47 -0400)
commit62ad68f213ba233b37297c574b985e61081eb249
tree33b5429d210f9a2e0f528746d553442f0daf93fc
parent66db6ac36bed86c1d0a496abf7ab232da1bf73a9
media: lirc_zilog: Clean up lirc zilog error codes

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 <yves.lemee.kernel@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/lirc/lirc_zilog.c