]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: uart-gb: clean up send_line_coding
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 24 Nov 2014 21:52:25 +0000 (13:52 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 25 Nov 2014 18:49:08 +0000 (10:49 -0800)
commit9f240f20caf93090d82949d59d467dcde341560b
tree79e096e12590e64cdb5899ece2201a089dbaf5ac
parentecc25a7f58d9be842f591800f13f932396fb72af
greybus: uart-gb: clean up send_line_coding

We always pass the same option to send_line_coding() for the line_coding
structure, which is already in the struct gb_tty variable, so just
remove the second parameter as it's not needed.

This logic came from the cdc-acm.c driver, where it's also not needed
anymore, I'll go fix up that later on when I get a chance.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/uart-gb.c