[PATCH 2/2v v2] USB: ftdi_sio: fix some coding style issues

2014-08-17 Thread Jaša Bartelj
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

[PATCH 2/2] USB: ftdi_sio: fix some coding style issues

2014-08-16 Thread Jaša Bartelj
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

[PATCH 1/2] USB: ftdi_sio: Added PID for new ekey device

2014-08-16 Thread Jaša Bartelj
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

Re: [PATCH] USB: ftdi_sio: Added PID for new ekey device and some coding

2014-08-15 Thread Jaša Bartelj
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

[PATCH] USB: ftdi_sio: Added PID for new ekey device and some coding

2014-08-15 Thread Jaša Bartelj
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

ftdi_sio: Adding new device by ekey

2014-08-15 Thread Jaša Bartelj
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