[PATCH] input: serio: Fix multiline comments style in xilinx_ps2

Michal Simek michal.simek at xilinx.com
Thu Jul 13 06:01:58 PDT 2017


Fix multiline comments style not to be reported by checkpatch.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 drivers/input/serio/xilinx_ps2.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index 14c40892ed82..474724296363 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -46,7 +46,8 @@
 #define XPS2_STATUS_TX_FULL	0x00000002 /* Transmit Full  */
 
 /* Bit definitions for ISR/IER registers. Both the registers have the same bit
- * definitions and are only defined once. */
+ * definitions and are only defined once.
+ */
 #define XPS2_IPIXR_WDT_TOUT	0x00000001 /* Watchdog Timeout Interrupt */
 #define XPS2_IPIXR_TX_NOACK	0x00000002 /* Transmit No ACK Interrupt */
 #define XPS2_IPIXR_TX_ACK	0x00000004 /* Transmit ACK (Data) Interrupt */
@@ -293,7 +294,8 @@ static int xps2_of_probe(struct platform_device *ofdev)
 	out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0);
 
 	/* Reset the PS2 device and abort any current transaction, to make sure
-	 * we have the PS2 in a good state */
+	 * we have the PS2 in a good state
+	 */
 	out_be32(drvdata->base_address + XPS2_SRST_OFFSET, XPS2_SRST_RESET);
 
 	dev_info(dev, "Xilinx PS2 at 0x%08llX mapped to 0x%p, irq=%d\n",
-- 
1.9.1




More information about the linux-arm-kernel mailing list