staging: gpib: hp_82341: fixes multiline comments style
authorPaul Retourné <paul.retourne@orange.fr>
Sat, 12 Apr 2025 06:42:14 +0000 (23:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:48:55 +0000 (16:48 +0200)
Fixes the style of multiline comments to comply with the linux kernel
coding style.

Signed-off-by: Paul Retourné <paul.retourne@orange.fr>
Link: https://lore.kernel.org/r/5bc4da465b2df932b7cb7783012786a7220a2e2a.1744438358.git.paul.retourne@orange.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/hp_82341/hp_82341.c

index a0412c9143b5c3da8f0db3ec5a4796e818ec025a..5ca0bd2f1a086ce32582af73451831dd30ea1ab2 100644 (file)
@@ -51,11 +51,12 @@ static int hp_82341_accel_read(struct gpib_board *board, uint8_t *buffer, size_t
                return 0;
        //disable fifo for the moment
        outb(DIRECTION_GPIB_TO_HOST_BIT, hp_priv->iobase[3] + BUFFER_CONTROL_REG);
-       // Handle corner case of board not in holdoff and one byte has slipped in already.
-       // Also, board sometimes has problems (spurious 1 byte reads) when read fifo is
-       // started up with board in
-       // TACS under certain data holdoff conditions.  Doing a 1 byte tms9914-style
-       // read avoids these problems.
+       /*
+        * Handle corner case of board not in holdoff and one byte has slipped in already.
+        * Also, board sometimes has problems (spurious 1 byte reads) when read fifo is
+        * started up with board in TACS under certain data holdoff conditions.
+        * Doing a 1 byte tms9914-style read avoids these problems.
+        */
        if (/*tms_priv->holdoff_active == 0 && */length > 1) {
                size_t num_bytes;