Changes two simple if statements to switch statements.
Fixes some issues reported by checkpatch.pl like whitespace.
Bracing changes so all arms of a statement have consistent bracing.
Signed-off-by: Jaša Bartelj
---
drivers/usb/serial/ftdi_sio.c | 48
Mainly whitespace changes and some bracing style clean-ups.
Signed-off-by: Jaša Bartelj
---
drivers/usb/serial/ftdi_sio.c | 20 +++-
drivers/usb/serial/ftdi_sio_ids.h | 4 ++--
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/serial/ftdi_sio.c b
Added support to the ftdi_sio driver for ekey Converter USB which
uses an FT232BM chip.
Signed-off-by: Jaša Bartelj
---
drivers/usb/serial/ftdi_sio.c | 2 ++
drivers/usb/serial/ftdi_sio_ids.h | 5 +
2 files changed, 7 insertions(+)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers
Please ignore this patch.
Somewhere in the pipeline all tabs got converted to spaces.
I'll repost soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Added support for ekey Converter USB which uses an FT232BM chip.
Also cleaned up some code style warnings, mostly whitespace and some
braces.
* ftdi_sio.c: checkpatch.pl 11E and 27W down to 11E and 21W
* ftdi_sio_ids.h: checkpatch.pl 60W down to 58W, only long lines left
Signed-off-by: Jaša
tSize 64
[ 7037.231331] usb 6-2: Setting MaxPacketSize 64
[ 7037.234688] usb 6-2: FTDI USB Serial Device converter now
attached to ttyUSB0
I'll be sending a patch shortly. The module compiles but fingers
crossed - it is my first shared patch. :)
-- Jaša Bartelj
--
To unsubscribe f