Paul Bolle 3f612132c7 gigaset: return -ENOTTY for unimplemented functions
A number of functions in the usb_gigaset module will return -EINVAL if
CONFIG_GIGASET_UNDOCREQ is not set. Make these return -ENOTTY as it's
more specific and it might make it easier to see (from userspace) why
these functions actually fail.

Impact: some error return codes changed

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-10 05:22:42 -07:00
..
2009-03-04 00:11:52 -08:00
2009-02-02 23:26:57 -08:00
2009-02-18 15:37:56 -08:00
2009-03-04 21:49:14 +10:00
2009-02-26 10:32:31 -08:00
2009-02-25 13:18:47 +11:00
2009-02-27 16:26:22 -08:00
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:56 -08:00
2009-03-05 14:39:32 -05:00