Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/con3215: Fix white space errors

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>

authored by

Thomas Richter and committed by
Vasily Gorbik
55af33fd 1f3307cf

+9 -10
+9 -10
drivers/s390/char/con3215.c
··· 160 160 ccw->cmd_code = 0x0A; /* read inquiry */ 161 161 ccw->flags = 0x20; /* ignore incorrect length */ 162 162 ccw->count = 160; 163 - ccw->cda = (__u32) __pa(raw->inbuf); 163 + ccw->cda = (__u32)__pa(raw->inbuf); 164 164 } 165 165 166 166 /* ··· 219 219 ccw[-1].flags |= 0x40; /* use command chaining */ 220 220 ccw->cmd_code = 0x01; /* write, auto carrier return */ 221 221 ccw->flags = 0x20; /* ignore incorrect length ind. */ 222 - ccw->cda = 223 - (__u32) __pa(raw->buffer + ix); 222 + ccw->cda = (__u32)__pa(raw->buffer + ix); 224 223 count = len; 225 224 if (ix + count > RAW3215_BUFFER_SIZE) 226 225 count = RAW3215_BUFFER_SIZE - ix; ··· 696 697 kfree(raw); 697 698 } 698 699 699 - static int raw3215_probe (struct ccw_device *cdev) 700 + static int raw3215_probe(struct ccw_device *cdev) 700 701 { 701 702 struct raw3215_info *raw; 702 703 int line; ··· 729 730 return 0; 730 731 } 731 732 732 - static void raw3215_remove (struct ccw_device *cdev) 733 + static void raw3215_remove(struct ccw_device *cdev) 733 734 { 734 735 struct raw3215_info *raw; 735 736 unsigned int line; ··· 748 749 } 749 750 } 750 751 751 - static int raw3215_set_online (struct ccw_device *cdev) 752 + static int raw3215_set_online(struct ccw_device *cdev) 752 753 { 753 754 struct raw3215_info *raw; 754 755 ··· 759 760 return raw3215_startup(raw); 760 761 } 761 762 762 - static int raw3215_set_offline (struct ccw_device *cdev) 763 + static int raw3215_set_offline(struct ccw_device *cdev) 763 764 { 764 765 struct raw3215_info *raw; 765 766 ··· 1021 1022 /* 1022 1023 * String write routine for 3215 ttys 1023 1024 */ 1024 - static int tty3215_write(struct tty_struct * tty, 1025 + static int tty3215_write(struct tty_struct *tty, 1025 1026 const unsigned char *buf, int count) 1026 1027 { 1027 1028 handle_write(tty->driver_data, buf, count); ··· 1065 1066 /* 1066 1067 * Disable reading from a 3215 tty 1067 1068 */ 1068 - static void tty3215_throttle(struct tty_struct * tty) 1069 + static void tty3215_throttle(struct tty_struct *tty) 1069 1070 { 1070 1071 struct raw3215_info *raw = tty->driver_data; 1071 1072 ··· 1075 1076 /* 1076 1077 * Enable reading from a 3215 tty 1077 1078 */ 1078 - static void tty3215_unthrottle(struct tty_struct * tty) 1079 + static void tty3215_unthrottle(struct tty_struct *tty) 1079 1080 { 1080 1081 struct raw3215_info *raw = tty->driver_data; 1081 1082 unsigned long flags;