s390/con3215: Fix white space errors
authorThomas Richter <tmricht@linux.ibm.com>
Tue, 20 Sep 2022 14:33:23 +0000 (16:33 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 26 Oct 2022 12:46:51 +0000 (14:46 +0200)
Adjust white space according to coding guidelines.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/char/con3215.c

index 183d25a..72ba83c 100644 (file)
@@ -160,7 +160,7 @@ static void raw3215_mk_read_req(struct raw3215_info *raw)
        ccw->cmd_code = 0x0A; /* read inquiry */
        ccw->flags = 0x20;    /* ignore incorrect length */
        ccw->count = 160;
-       ccw->cda = (__u32) __pa(raw->inbuf);
+       ccw->cda = (__u32)__pa(raw->inbuf);
 }
 
 /*
@@ -219,8 +219,7 @@ static void raw3215_mk_write_req(struct raw3215_info *raw)
                        ccw[-1].flags |= 0x40; /* use command chaining */
                ccw->cmd_code = 0x01; /* write, auto carrier return */
                ccw->flags = 0x20;    /* ignore incorrect length ind.  */
-               ccw->cda =
-                       (__u32) __pa(raw->buffer + ix);
+               ccw->cda = (__u32)__pa(raw->buffer + ix);
                count = len;
                if (ix + count > RAW3215_BUFFER_SIZE)
                        count = RAW3215_BUFFER_SIZE - ix;
@@ -697,7 +696,7 @@ static void raw3215_free_info(struct raw3215_info *raw)
        kfree(raw);
 }
 
-static int raw3215_probe (struct ccw_device *cdev)
+static int raw3215_probe(struct ccw_device *cdev)
 {
        struct raw3215_info *raw;
        int line;
@@ -730,7 +729,7 @@ static int raw3215_probe (struct ccw_device *cdev)
        return 0;
 }
 
-static void raw3215_remove (struct ccw_device *cdev)
+static void raw3215_remove(struct ccw_device *cdev)
 {
        struct raw3215_info *raw;
        unsigned int line;
@@ -749,7 +748,7 @@ static void raw3215_remove (struct ccw_device *cdev)
        }
 }
 
-static int raw3215_set_online (struct ccw_device *cdev)
+static int raw3215_set_online(struct ccw_device *cdev)
 {
        struct raw3215_info *raw;
 
@@ -760,7 +759,7 @@ static int raw3215_set_online (struct ccw_device *cdev)
        return raw3215_startup(raw);
 }
 
-static int raw3215_set_offline (struct ccw_device *cdev)
+static int raw3215_set_offline(struct ccw_device *cdev)
 {
        struct raw3215_info *raw;
 
@@ -1022,7 +1021,7 @@ static unsigned int tty3215_write_room(struct tty_struct *tty)
 /*
  * String write routine for 3215 ttys
  */
-static int tty3215_write(struct tty_struct * tty,
+static int tty3215_write(struct tty_struct *tty,
                         const unsigned char *buf, int count)
 {
        handle_write(tty->driver_data, buf, count);
@@ -1066,7 +1065,7 @@ static void tty3215_flush_buffer(struct tty_struct *tty)
 /*
  * Disable reading from a 3215 tty
  */
-static void tty3215_throttle(struct tty_struct * tty)
+static void tty3215_throttle(struct tty_struct *tty)
 {
        struct raw3215_info *raw = tty->driver_data;
 
@@ -1076,7 +1075,7 @@ static void tty3215_throttle(struct tty_struct * tty)
 /*
  * Enable reading from a 3215 tty
  */
-static void tty3215_unthrottle(struct tty_struct * tty)
+static void tty3215_unthrottle(struct tty_struct *tty)
 {
        struct raw3215_info *raw = tty->driver_data;
        unsigned long flags;