[PATCH] Staging: pnp: Fix "foo* bar" should be "foo *bar" errors From: Yash Shah <yshah1@xxxxxxxxxxx>
From: Shah, Yash (Y.)
Date: Fri Dec 04 2015 - 04:32:07 EST
Fix "foo* bar" should be "foo *bar" errors as detected by checkpatch.pl
Signed-off-by: Yash Shah <yshah1@xxxxxxxxxxx>
---
drivers/pnp/interface.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c
index 4b6808f..860fca3 100644
--- a/drivers/pnp/interface.c
+++ b/drivers/pnp/interface.c
@@ -32,7 +32,7 @@ struct pnp_info_buffer {
typedef struct pnp_info_buffer pnp_info_buffer_t;
-static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...)
+static int pnp_printf(pnp_info_buffer_t *buffer, char *fmt, ...)
{
va_list args;
int res;
@@ -51,7 +51,7 @@ static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...)
return res;
}
-static void pnp_print_port(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_port(pnp_info_buffer_t *buffer, char *space,
struct pnp_port *port)
{
pnp_printf(buffer, "%sport %#llx-%#llx, align %#llx, size %#llx, "
@@ -63,7 +63,7 @@ static void pnp_print_port(pnp_info_buffer_t * buffer, char *space,
port->flags & IORESOURCE_IO_16BIT_ADDR ? 16 : 10);
}
-static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_irq(pnp_info_buffer_t *buffer, char *space,
struct pnp_irq *irq)
{
int first = 1, i;
@@ -96,7 +96,7 @@ static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
pnp_printf(buffer, "\n");
}
-static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_dma(pnp_info_buffer_t *buffer, char *space,
struct pnp_dma *dma)
{
int first = 1, i;
@@ -148,7 +148,7 @@ static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space,
pnp_printf(buffer, " %s\n", s);
}
-static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_mem(pnp_info_buffer_t *buffer, char *space,
struct pnp_mem *mem)
{
char *s;
@@ -184,7 +184,7 @@ static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space,
pnp_printf(buffer, ", %s\n", s);
}
-static void pnp_print_option(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_option(pnp_info_buffer_t *buffer, char *space,
struct pnp_option *option)
{
switch (option->type) {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/