diff options
author | Joe Perches <joe@perches.com> | 2011-04-23 23:38:19 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:24:37 -0400 |
commit | 85ee7a1d39d75d23d21f3871f6dc9b87d572747a (patch) | |
tree | 210097981b572bd3e204a48ad2f1d2ae18586311 /drivers/tty/serial | |
parent | 07f9479a40cc778bc1462ada11f95b01360ae4ff (diff) |
treewide: cleanup continuations and remove logging message whitespace
Using C line continuation inside format strings is error prone.
Clean up the unintended whitespace introduced by misuse of \.
Neaten correctly used line continations as well for consistency.
drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well,
but arcmsr needs a lot more work and the driver should likely be
moved to staging instead.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/bfin_sport_uart.c | 3 | ||||
-rw-r--r-- | drivers/tty/serial/mfd.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c index c3ec0a61d859..891d194ae754 100644 --- a/drivers/tty/serial/bfin_sport_uart.c +++ b/drivers/tty/serial/bfin_sport_uart.c | |||
@@ -296,8 +296,7 @@ static int sport_startup(struct uart_port *port) | |||
296 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | | 296 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | |
297 | IRQF_DISABLED, "BFIN_SPORT_UART_CTS", up)) { | 297 | IRQF_DISABLED, "BFIN_SPORT_UART_CTS", up)) { |
298 | up->cts_pin = -1; | 298 | up->cts_pin = -1; |
299 | dev_info(port->dev, "Unable to attach BlackFin UART \ | 299 | dev_info(port->dev, "Unable to attach BlackFin UART over SPORT CTS interrupt. So, disable it.\n"); |
300 | over SPORT CTS interrupt. So, disable it.\n"); | ||
301 | } | 300 | } |
302 | } | 301 | } |
303 | if (up->rts_pin >= 0) | 302 | if (up->rts_pin >= 0) |
diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index c111f36f5d21..cab52f4a88b0 100644 --- a/drivers/tty/serial/mfd.c +++ b/drivers/tty/serial/mfd.c | |||
@@ -49,8 +49,8 @@ | |||
49 | 49 | ||
50 | static int hsu_dma_enable; | 50 | static int hsu_dma_enable; |
51 | module_param(hsu_dma_enable, int, 0); | 51 | module_param(hsu_dma_enable, int, 0); |
52 | MODULE_PARM_DESC(hsu_dma_enable, "It is a bitmap to set working mode, if \ | 52 | MODULE_PARM_DESC(hsu_dma_enable, |
53 | bit[x] is 1, then port[x] will work in DMA mode, otherwise in PIO mode."); | 53 | "It is a bitmap to set working mode, if bit[x] is 1, then port[x] will work in DMA mode, otherwise in PIO mode."); |
54 | 54 | ||
55 | struct hsu_dma_buffer { | 55 | struct hsu_dma_buffer { |
56 | u8 *buf; | 56 | u8 *buf; |