From: Ben Hutchings Date: Wed, 16 Nov 2011 04:53:35 +0000 (-0300) Subject: [media] staging: lirc_serial: Fix bogus error codes X-Git-Tag: v3.3-rc1~48^2~556 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b98d60679711753e548be15c6bef5239db6ed64;p=pandora-kernel.git [media] staging: lirc_serial: Fix bogus error codes Device not found? ENODEV, not EINVAL. Write to read-only device? EPERM, not EBADF. Invalid argument? EINVAL, not ENOSYS. Unsupported ioctl? ENOIOCTLCMD, not ENOSYS. Another function returned an error code? Use that, don't replace it. Signed-off-by: Ben Hutchings Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed