dm9601: Consolidate common parts of dm_write_*_async
commitba734f349d5ba02a736e2d574584c56cd21bad14
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 15 Nov 2007 10:10:12 +0000 (15 11:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:01 +0000 (28 15:04 -0800)
tree06464010a68bcdcce181afd2bf1362cfa6bed11b
parent9ce6cf25538de8036793a7e517674ede86e41f00
dm9601: Consolidate common parts of dm_write_*_async

dm_write_async and dm_write_reg_async are almost identical.
Move common functionality to dm_write_async_helper (saves ~256b).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/usb/dm9601.c