diff options
author | Alan Cox <alan@linux.intel.com> | 2011-02-14 11:26:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 14:52:43 -0500 |
commit | 20b9d17715017ae4dd4ec87fabc36d33b9de708e (patch) | |
tree | 64e9c4ff845844298f9056357d9f4914802207f8 /drivers/usb/serial/whiteheat.c | |
parent | 60b33c133ca0b7c0b6072c87234b63fee6e80558 (diff) |
tiocmset: kill the file pointer argument
Doing tiocmget was such fun we should do tiocmset as well for the same
reasons
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/whiteheat.c')
-rw-r--r-- | drivers/usb/serial/whiteheat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index bf850139e0b8..6e0c397e869f 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -157,7 +157,7 @@ static int whiteheat_ioctl(struct tty_struct *tty, struct file *file, | |||
157 | static void whiteheat_set_termios(struct tty_struct *tty, | 157 | static void whiteheat_set_termios(struct tty_struct *tty, |
158 | struct usb_serial_port *port, struct ktermios *old); | 158 | struct usb_serial_port *port, struct ktermios *old); |
159 | static int whiteheat_tiocmget(struct tty_struct *tty); | 159 | static int whiteheat_tiocmget(struct tty_struct *tty); |
160 | static int whiteheat_tiocmset(struct tty_struct *tty, struct file *file, | 160 | static int whiteheat_tiocmset(struct tty_struct *tty, |
161 | unsigned int set, unsigned int clear); | 161 | unsigned int set, unsigned int clear); |
162 | static void whiteheat_break_ctl(struct tty_struct *tty, int break_state); | 162 | static void whiteheat_break_ctl(struct tty_struct *tty, int break_state); |
163 | static int whiteheat_chars_in_buffer(struct tty_struct *tty); | 163 | static int whiteheat_chars_in_buffer(struct tty_struct *tty); |
@@ -850,7 +850,7 @@ static int whiteheat_tiocmget(struct tty_struct *tty) | |||
850 | return modem_signals; | 850 | return modem_signals; |
851 | } | 851 | } |
852 | 852 | ||
853 | static int whiteheat_tiocmset(struct tty_struct *tty, struct file *file, | 853 | static int whiteheat_tiocmset(struct tty_struct *tty, |
854 | unsigned int set, unsigned int clear) | 854 | unsigned int set, unsigned int clear) |
855 | { | 855 | { |
856 | struct usb_serial_port *port = tty->driver_data; | 856 | struct usb_serial_port *port = tty->driver_data; |