[linux-usb-devel] [PATCH 3/4] usbserial: Driver's num_ports call function.

2006-06-19 Thread lcapitulino
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Moves the driver's num_ports call code to its new function, this makes usb_serial_probe() simpler. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 40 ---

[linux-usb-devel] [PATCH 2/4] usbserial: Driver's probe call function.

2006-06-19 Thread lcapitulino
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Moves the driver's probe call code to its new function, this makes usb_serial_probe() simpler. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 52 +--

[linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-19 Thread lcapitulino
Hi Greg. This patch series is the first part of my proposal to brake usb_serial_probe() function into small parts. The goal is to make usb_serial_probe() smaller, clean and easy to follow. Any comment is welcome. drivers/usb/serial/usb-serial.c | 176 +++---

[linux-usb-devel] [PATCH 1/4] usbserial: Port creation function.

2006-06-19 Thread lcapitulino
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Moves the port creation code to its own function, this makes usb_serial_probe() simpler. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 37 +++-- 1 file

[linux-usb-devel] [PATCH 4/4] usbserial: Driver's attach call function.

2006-06-19 Thread lcapitulino
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Moves the driver's attach call code to its new function, this makes usb_serial_probe() simpler. Note that it can't be called driver_attach(), because it already exists. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- dri