diff options
author | Greg KH <gregkh@linuxfoundation.org> | 2012-02-24 15:38:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-28 11:21:48 -0800 |
commit | d1cddb4a8e9b09c33158acae05c48069d74fa4d0 (patch) | |
tree | e1ab740cc4a6905ef0a520dd79ecdbac041585a1 /Documentation/nmi_watchdog.txt | |
parent | 03892d5fefbe7d4df68466bd4cfda86fac84ebd8 (diff) | |
download | blackbird-op-linux-d1cddb4a8e9b09c33158acae05c48069d74fa4d0.tar.gz blackbird-op-linux-d1cddb4a8e9b09c33158acae05c48069d74fa4d0.zip |
USB: create module_usb_serial_driver macro
Now that Alan Stern has cleaned up the usb serial driver registration,
we have the ability to create a module_usb_serial_driver macro to make
things a bit simpler, like the other *_driver macros created.
But, as we need two functions here, we can't reuse the existing
module_driver() macro, so we need to roll our own.
Here's a patch implementing module_usb_serial_driver() and it converts
the pl2303 driver to use it, showing a nice cleanup.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/nmi_watchdog.txt')
0 files changed, 0 insertions, 0 deletions