On Wed, Jul 18, 2018 at 02:25:00PM +0200, Johan Hovold wrote: > The CP2102N equations for determining the actual baud rate can be used > also for other device types, so let's factor it out. > > Note that this removes the now unused cp210x_is_cp2102n() helper. > > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx> > --- > drivers/usb/serial/cp210x.c | 50 ++++++++++++++++++++----------------- > 1 file changed, 27 insertions(+), 23 deletions(-) Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html