pl2303: simplify the else-if contruct for type_1 chips in pl2303_startup()
authorFrank Schäfer <fschaefer.oss@googlemail.com>
Wed, 14 Aug 2013 18:09:09 +0000 (20:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 19:12:42 +0000 (12:12 -0700)
commit73b583af597542329e6adae44524da6f27afed62
tree420cd4bebb16f934a3653febaa7e3e9ca1e516bf
parent165f60642ae988f0b9dcfd4988806e7a938b26c7
pl2303: simplify the else-if contruct for type_1 chips in pl2303_startup()

There is no need for two else-if constructs for the type_1 chip
detection in pl2303_startup(), so merge them.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c