4242
4343MODULE_FIRMWARE ("3826.arm" );
4444
45- /*
46- * gpios should be handled in board files and provided via platform data,
45+ /* gpios should be handled in board files and provided via platform data,
4746 * but because it's currently impossible for p54spi to have a header file
4847 * in include/linux, let's use module paramaters for now
4948 */
@@ -191,8 +190,7 @@ static int p54spi_request_eeprom(struct ieee80211_hw *dev)
191190 const struct firmware * eeprom ;
192191 int ret ;
193192
194- /*
195- * allow users to customize their eeprom.
193+ /* allow users to customize their eeprom.
196194 */
197195
198196 ret = request_firmware (& eeprom , "3826.eeprom" , & priv -> spi -> dev );
@@ -285,8 +283,7 @@ static void p54spi_power_on(struct p54s_priv *priv)
285283 gpio_set_value (p54spi_gpio_power , 1 );
286284 enable_irq (gpio_to_irq (p54spi_gpio_irq ));
287285
288- /*
289- * need to wait a while before device can be accessed, the length
286+ /* need to wait a while before device can be accessed, the length
290287 * is just a guess
291288 */
292289 msleep (10 );
@@ -365,7 +362,8 @@ static int p54spi_rx(struct p54s_priv *priv)
365362 /* Firmware may insert up to 4 padding bytes after the lmac header,
366363 * but it does not amend the size of SPI data transfer.
367364 * Such packets has correct data size in header, thus referencing
368- * past the end of allocated skb. Reserve extra 4 bytes for this case */
365+ * past the end of allocated skb. Reserve extra 4 bytes for this case
366+ */
369367 skb = dev_alloc_skb (len + 4 );
370368 if (!skb ) {
371369 p54spi_sleep (priv );
@@ -383,7 +381,8 @@ static int p54spi_rx(struct p54s_priv *priv)
383381 }
384382 p54spi_sleep (priv );
385383 /* Put additional bytes to compensate for the possible
386- * alignment-caused truncation */
384+ * alignment-caused truncation
385+ */
387386 skb_put (skb , 4 );
388387
389388 if (p54_rx (priv -> hw , skb ) == 0 )
0 commit comments