diff options
author | Andreas Mohr <andi@lisas.de> | 2010-01-17 05:45:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:36 -0500 |
commit | 330e3c4cc7179f9f3916cd147bf289467e16b169 (patch) | |
tree | cbde73ed345d97f7ae60efcab921b8a22bd953ac /drivers/usb/serial/ftdi_sio.c | |
parent | 0a2a37752e8c62f7bf160ad196c9384095d347fd (diff) |
USB: ftdi_sio: correct spelling in implementation file
- correct spelling
- correct non-tabbed .tiocmget/.tiocmset entries
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 37db5a09a534..dd5bfbc77051 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -812,7 +812,7 @@ static struct usb_serial_driver ftdi_sio_device = { | |||
812 | .name = "ftdi_sio", | 812 | .name = "ftdi_sio", |
813 | }, | 813 | }, |
814 | .description = "FTDI USB Serial Device", | 814 | .description = "FTDI USB Serial Device", |
815 | .usb_driver = &ftdi_driver , | 815 | .usb_driver = &ftdi_driver, |
816 | .id_table = id_table_combined, | 816 | .id_table = id_table_combined, |
817 | .num_ports = 1, | 817 | .num_ports = 1, |
818 | .probe = ftdi_sio_probe, | 818 | .probe = ftdi_sio_probe, |
@@ -828,8 +828,8 @@ static struct usb_serial_driver ftdi_sio_device = { | |||
828 | .chars_in_buffer = ftdi_chars_in_buffer, | 828 | .chars_in_buffer = ftdi_chars_in_buffer, |
829 | .read_bulk_callback = ftdi_read_bulk_callback, | 829 | .read_bulk_callback = ftdi_read_bulk_callback, |
830 | .write_bulk_callback = ftdi_write_bulk_callback, | 830 | .write_bulk_callback = ftdi_write_bulk_callback, |
831 | .tiocmget = ftdi_tiocmget, | 831 | .tiocmget = ftdi_tiocmget, |
832 | .tiocmset = ftdi_tiocmset, | 832 | .tiocmset = ftdi_tiocmset, |
833 | .ioctl = ftdi_ioctl, | 833 | .ioctl = ftdi_ioctl, |
834 | .set_termios = ftdi_set_termios, | 834 | .set_termios = ftdi_set_termios, |
835 | .break_ctl = ftdi_break_ctl, | 835 | .break_ctl = ftdi_break_ctl, |
@@ -1327,20 +1327,20 @@ static void ftdi_determine_type(struct usb_serial_port *port) | |||
1327 | __func__); | 1327 | __func__); |
1328 | } | 1328 | } |
1329 | } else if (version < 0x200) { | 1329 | } else if (version < 0x200) { |
1330 | /* Old device. Assume its the original SIO. */ | 1330 | /* Old device. Assume it's the original SIO. */ |
1331 | priv->chip_type = SIO; | 1331 | priv->chip_type = SIO; |
1332 | priv->baud_base = 12000000 / 16; | 1332 | priv->baud_base = 12000000 / 16; |
1333 | priv->write_offset = 1; | 1333 | priv->write_offset = 1; |
1334 | } else if (version < 0x400) { | 1334 | } else if (version < 0x400) { |
1335 | /* Assume its an FT8U232AM (or FT8U245AM) */ | 1335 | /* Assume it's an FT8U232AM (or FT8U245AM) */ |
1336 | /* (It might be a BM because of the iSerialNumber bug, | 1336 | /* (It might be a BM because of the iSerialNumber bug, |
1337 | * but it will still work as an AM device.) */ | 1337 | * but it will still work as an AM device.) */ |
1338 | priv->chip_type = FT8U232AM; | 1338 | priv->chip_type = FT8U232AM; |
1339 | } else if (version < 0x600) { | 1339 | } else if (version < 0x600) { |
1340 | /* Assume its an FT232BM (or FT245BM) */ | 1340 | /* Assume it's an FT232BM (or FT245BM) */ |
1341 | priv->chip_type = FT232BM; | 1341 | priv->chip_type = FT232BM; |
1342 | } else { | 1342 | } else { |
1343 | /* Assume its an FT232R */ | 1343 | /* Assume it's an FT232R */ |
1344 | priv->chip_type = FT232RL; | 1344 | priv->chip_type = FT232RL; |
1345 | } | 1345 | } |
1346 | dev_info(&udev->dev, "Detected %s\n", ftdi_chip_name[priv->chip_type]); | 1346 | dev_info(&udev->dev, "Detected %s\n", ftdi_chip_name[priv->chip_type]); |