]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
pegasus: minor resource shrinkage
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 16 Nov 2008 08:36:08 +0000 (00:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2008 08:36:08 +0000 (00:36 -0800)
commitcda2836dc66f814aecc58370251566e1c225c8d3
treeebb381e9ed2a3a93621690b886b4e241a5fa4c81
parent74ad0a5421edc6ef13a4059c6076cd7a4f3a1fd5
pegasus: minor resource shrinkage

Make pegasus driver not allocate a workqueue until the driver
is bound to some device, which will need that workqueue if
the device is brought up.  This conserves resources when the
driver is linked but there's no pegasus device connected.

Also shrink the runtime footprint a smidgeon by moving some
init-only code into its proper section, and move an obnoxious
(frequent and meaningless) message to be debug-only.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/pegasus.c