]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: remove bizarre generic_serial probe function
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 21:46:48 +0000 (14:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 21:46:48 +0000 (14:46 -0700)
commit2fc84f49dcee7e29238a507b5c2e20a03993a8a9
tree2ef946f6217718cf41d07c629f16b8a57936a56d
parentb2652a0747cfa1440be4b4fda8f16d9bea5bf8fe
USB: serial: remove bizarre generic_serial probe function

I can't remember why I wrote it like this many many years ago, but it's
not needed at all, let's rely on the usb-serial core for this function,
especially as it is being overridden by it anyway.

This lets us make usb_serial_probe() a static function, which it should
be.

Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/generic.c
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h