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)
commita8c2d62b1bddf5fa4d23a380be8904e5593c2b40
tree33b5429d210f9a2e0f528746d553442f0daf93fc
parentafb24eabf9e63c99d01aaf1b4d04f1d9a458e029
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