commit | 9b98d60679711753e548be15c6bef5239db6ed64 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed Nov 16 01:53:35 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Nov 24 18:18:05 2011 -0200 |
tree | 3257eeabc23c4f39deff7c8ecf09a53fe465ec9d | |
parent | 1ff1d88e862948ae5bfe490248c023ff8ac2855d [diff] |
[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 <ben@decadent.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>