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 ---
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 +--
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 +++---
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
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