staging: gpib: cb7210: fixes multiline comments style
authorPaul Retourné <paul.retourne@orange.fr>
Sat, 12 Apr 2025 06:21:54 +0000 (23:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:48:26 +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/f4b504b59c500ed5a666422128c90340e8ff4f63.1744438358.git.paul.retourne@orange.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/cb7210/cb7210.c
drivers/staging/gpib/cb7210/cb7210.h

index f2163117af17b0f96b3c02d5a58a03108312c458..b15ffc777c39b577b52082326d4864de24fdf342 100644 (file)
@@ -905,7 +905,8 @@ static int cb7210_init(struct cb7210_priv *cb_priv, struct gpib_board *board)
        cb7210_write_byte(cb_priv, cb_priv->hs_mode_bits, HS_MODE);
 
        write_byte(nec_priv, AUX_LO_SPEED, AUXMR);
-       /* set clock register for maximum (20 MHz) driving frequency
+       /*
+        * set clock register for maximum (20 MHz) driving frequency
         * ICR should be set to clock in megahertz (1-15) and to zero
         * for clocks faster than 15 MHz (max 20MHz)
         */
@@ -1275,9 +1276,9 @@ static int cb_gpib_config(struct pcmcia_device  *link)
 } /* gpib_config */
 
 /*
- *    After a card is removed, gpib_release() will unregister the net
- *   device, and release the PCMCIA configuration.  If the device is
- *   still open, this will be postponed until it is closed.
+ * After a card is removed, gpib_release() will unregister the net
+ * device, and release the PCMCIA configuration.  If the device is
+ * still open, this will be postponed until it is closed.
  */
 
 static void cb_gpib_release(struct pcmcia_device *link)
index 32d8ec5991de62ab86611cdad0d8b860bb4f5ca1..13f127563ab3a7e1ae1ba0068e4bf4badf19ba9b 100644 (file)
@@ -134,7 +134,8 @@ enum bus_status_bits {
 
 /* CBI 488.2 HS control */
 
-/* when both bit 0 and 1 are set, it
+/*
+ * when both bit 0 and 1 are set, it
  *   1 clears the transmit state machine to an initial condition
  *   2 clears any residual interrupts left latched on cbi488.2
  *   3 resets all control bits in HS_MODE to zero
@@ -189,11 +190,12 @@ static inline unsigned int irq_bits(unsigned int irq)
 }
 
 enum cb7210_aux_cmds {
-/* AUX_RTL2 is an undocumented aux command which causes cb7210 to assert
- *     (and keep asserted) local rtl message.  This is used in conjunction
- *     with the (stupid) cb7210 implementation
- *     of the normal nec7210 AUX_RTL aux command, which
- *     causes the rtl message to toggle between on and off.
+/*
+ * AUX_RTL2 is an undocumented aux command which causes cb7210 to assert
+ * (and keep asserted) local rtl message.  This is used in conjunction
+ * with the (stupid) cb7210 implementation
+ * of the normal nec7210 AUX_RTL aux command, which
+ * causes the rtl message to toggle between on and off.
  */
        AUX_RTL2 = 0xd,
        AUX_LO_SPEED = 0x40,