USB: pl2303: add device-type abstraction
Encode all device-type specifics in a struct rather than testing for device type and spreading such information throughout the driver. Signed-off-by: NJohan Hovold <jhovold@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录