aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2014-07-02 16:07:16 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 12:00:30 -0700
commit96045db8a42ac7f542cf445e36acc27746fbac28 (patch)
tree5314616138af58b87065dff240b655181a801547 /drivers/staging/dgap
parentc10fccf82a1ba70302a749e9769d3b0fe526792e (diff)
downloadlinux-stericsson-96045db8a42ac7f542cf445e36acc27746fbac28.tar.gz
staging: dgap: Adds a blank line after declaration
clean up checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index b5ea9ff310ff..5bccd14dd8dd 100644
--- a/drivers/staging/dgap/dgap.c
+++ b/drivers/staging/dgap/dgap.c
@@ -5388,6 +5388,7 @@ static int dgap_param(struct tty_struct *tty)
*/
if (bd->bd_flags & BD_FEP5PLUS) {
u16 hflow2 = 0;
+
if (ch->ch_digi.digi_flags & DIGI_RTS_TOGGLE)
hflow2 |= (D_RTS(ch));
if (ch->ch_digi.digi_flags & DIGI_DTR_TOGGLE)
@@ -5797,6 +5798,7 @@ static int dgap_create_driver_sysfiles(struct pci_driver *dgap_driver)
static void dgap_remove_driver_sysfiles(struct pci_driver *dgap_driver)
{
struct device_driver *driverfs = &dgap_driver->driver;
+
driver_remove_file(driverfs, &driver_attr_version);
driver_remove_file(driverfs, &driver_attr_boards);
driver_remove_file(driverfs, &driver_attr_maxboards);
@@ -6390,6 +6392,7 @@ static ssize_t dgap_tty_name_show(struct device *d,
if (cptr->type == TNODE && found == TRUE) {
char *ptr1;
+
if (strstr(cptr->u.ttyname, "tty")) {
ptr1 = cptr->u.ttyname;
ptr1 += 3;