Commit 55af33fd authored by Thomas Richter's avatar Thomas Richter Committed by Vasily Gorbik

s390/con3215: Fix white space errors

Adjust white space according to coding guidelines.
Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 1f3307cf
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment