Message ID | 003101cf3291$8948f3a0$9bdadae0$%han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6ff8672a96a01ec0861784b23be48a32443269f7 |
Headers | show |
On 02/26/2014 02:24 AM, Jingoo Han wrote: > Remove unnecessary space in order to fix the following > checkpatch issues. > > WARNING: Unnecessary space after function pointer name > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> > --- > drivers/spi/spi-xilinx.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c > index 66dbefc..a3b0b99 100644 > --- a/drivers/spi/spi-xilinx.c > +++ b/drivers/spi/spi-xilinx.c > @@ -87,10 +87,10 @@ struct xilinx_spi { > const u8 *tx_ptr; /* pointer in the Rx buffer */ > int remaining_bytes; /* the number of bytes left to transfer */ > u8 bits_per_word; > - unsigned int (*read_fn) (void __iomem *); > - void (*write_fn) (u32, void __iomem *); > - void (*tx_fn) (struct xilinx_spi *); > - void (*rx_fn) (struct xilinx_spi *); > + unsigned int (*read_fn)(void __iomem *); > + void (*write_fn)(u32, void __iomem *); > + void (*tx_fn)(struct xilinx_spi *); > + void (*rx_fn)(struct xilinx_spi *); > }; > > static void xspi_write32(u32 val, void __iomem *addr) > Reviewed-by: Michal Simek <monstr@monstr.eu> Thanks, Michal
On Wed, Feb 26, 2014 at 10:24:47AM +0900, Jingoo Han wrote: > Remove unnecessary space in order to fix the following > checkpatch issues. Applied, thanks.
diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index 66dbefc..a3b0b99 100644 --- a/drivers/spi/spi-xilinx.c +++ b/drivers/spi/spi-xilinx.c @@ -87,10 +87,10 @@ struct xilinx_spi { const u8 *tx_ptr; /* pointer in the Rx buffer */ int remaining_bytes; /* the number of bytes left to transfer */ u8 bits_per_word; - unsigned int (*read_fn) (void __iomem *); - void (*write_fn) (u32, void __iomem *); - void (*tx_fn) (struct xilinx_spi *); - void (*rx_fn) (struct xilinx_spi *); + unsigned int (*read_fn)(void __iomem *); + void (*write_fn)(u32, void __iomem *); + void (*tx_fn)(struct xilinx_spi *); + void (*rx_fn)(struct xilinx_spi *); }; static void xspi_write32(u32 val, void __iomem *addr)
Remove unnecessary space in order to fix the following checkpatch issues. WARNING: Unnecessary space after function pointer name Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/spi/spi-xilinx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)