commit | 3f612132c7164d5cc9ed677a2fdf8950222d2170 | [log] [tgz] |
---|---|---|
author | Paul Bolle <pebolle@tiscali.nl> | Sun Mar 08 05:23:13 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 10 05:22:42 2009 -0700 |
tree | 1e8bc23ad60cfb8af6b8e9d33b5fd27cb20a90ac | |
parent | 3c420f27b7b2340a81989c8d9ed619e545dd2ad7 [diff] |
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>