isdn/gigaset: avoid copying AT commands twice
authorTilman Schmidt <tilman@imap.cc>
Mon, 5 Jul 2010 14:18:43 +0000 (14:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jul 2010 23:57:51 +0000 (16:57 -0700)
commite3628dd176ba3ed329991ef042c29aae60617630
tree77e47e95ba38276557702a5bfc8e319bc9100b7c
parentb3251d8045f87eec5d565603345d262cee134fa6
isdn/gigaset: avoid copying AT commands twice

Change the Gigaset driver's internal write_cmd interface to accept a
cmdbuf structure instead of a string. This avoids copying formatted
AT commands a second time.

Impact: optimization
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/bas-gigaset.c
drivers/isdn/gigaset/ev-layer.c
drivers/isdn/gigaset/gigaset.h
drivers/isdn/gigaset/interface.c
drivers/isdn/gigaset/ser-gigaset.c
drivers/isdn/gigaset/usb-gigaset.c