Skip to content

Commit da1a42c

Browse files
Michal Simekdtor
authored andcommitted
Input: xilinx_ps2 - fix multiline comment style
Fix multiline comments style not to be reported by checkpatch. Signed-off-by: Michal Simek <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 117b2dc commit da1a42c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

drivers/input/serio/xilinx_ps2.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@
4545
#define XPS2_STATUS_RX_FULL 0x00000001 /* Receive Full */
4646
#define XPS2_STATUS_TX_FULL 0x00000002 /* Transmit Full */
4747

48-
/* Bit definitions for ISR/IER registers. Both the registers have the same bit
49-
* definitions and are only defined once. */
48+
/*
49+
* Bit definitions for ISR/IER registers. Both the registers have the same bit
50+
* definitions and are only defined once.
51+
*/
5052
#define XPS2_IPIXR_WDT_TOUT 0x00000001 /* Watchdog Timeout Interrupt */
5153
#define XPS2_IPIXR_TX_NOACK 0x00000002 /* Transmit No ACK Interrupt */
5254
#define XPS2_IPIXR_TX_ACK 0x00000004 /* Transmit ACK (Data) Interrupt */
@@ -292,8 +294,10 @@ static int xps2_of_probe(struct platform_device *ofdev)
292294
/* Disable all the interrupts, just in case */
293295
out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0);
294296

295-
/* Reset the PS2 device and abort any current transaction, to make sure
296-
* we have the PS2 in a good state */
297+
/*
298+
* Reset the PS2 device and abort any current transaction,
299+
* to make sure we have the PS2 in a good state.
300+
*/
297301
out_be32(drvdata->base_address + XPS2_SRST_OFFSET, XPS2_SRST_RESET);
298302

299303
dev_info(dev, "Xilinx PS2 at 0x%08llX mapped to 0x%p, irq=%d\n",

0 commit comments

Comments
 (0)