USB: serial: add probe callback to generic driver
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:31 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 08:54:39 +0000 (10:54 +0200)
commit415d7b3a5407d91fdf47a07fd31d63e4b548651f
tree03bada184bb316d49d4622b0a5f373231459fa97
parent07814246dd5530860ef758fd9b2b5f2e26472aa2
USB: serial: add probe callback to generic driver

Add a probe callback to the generic driver and print the
only-for-testing message there.

This is a first step in getting rid of the CONFIG_USB_SERIAL_GENERIC
ifdef from usb-serial core.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/generic.c
drivers/usb/serial/usb-serial.c