]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: option: revert introduction of struct option_private
authorDavid Ward <david.ward@ll.mit.edu>
Wed, 16 Sep 2015 16:27:56 +0000 (12:27 -0400)
committerJohan Hovold <johan@kernel.org>
Fri, 9 Oct 2015 10:42:40 +0000 (12:42 +0200)
commitbd8869e86b8a1e5e5b29fad766b2676bb74e5395
treeddd652f408424bf441ef57ae8101055f11ca04bc
parent8d23766b34e206d5f9544d9d638e56d827abbcd4
USB: option: revert introduction of struct option_private

This is a partial, context modified revert of commit e463c6dda8f5
("USB: option: handle send_setup blacklisting at probe"), which
introduced an unnecessary struct option_private for storing the
interface number used in option_send_setup. Removing this struct
will allow option_send_setup to be generalized for other drivers.

Suggested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c