Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: wireless: p54spi: Fix commenting style

Make the commenting style consistent with networking block comment
style as suggested by checkpatch.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Sachin Kamat and committed by
John W. Linville
acba7bb3 b6c32f88

+7 -8
+7 -8
drivers/net/wireless/p54/p54spi.c
··· 42 42 43 43 MODULE_FIRMWARE("3826.arm"); 44 44 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, 47 46 * but because it's currently impossible for p54spi to have a header file 48 47 * in include/linux, let's use module paramaters for now 49 48 */ ··· 190 191 const struct firmware *eeprom; 191 192 int ret; 192 193 193 - /* 194 - * allow users to customize their eeprom. 194 + /* allow users to customize their eeprom. 195 195 */ 196 196 197 197 ret = request_firmware(&eeprom, "3826.eeprom", &priv->spi->dev); ··· 283 285 gpio_set_value(p54spi_gpio_power, 1); 284 286 enable_irq(gpio_to_irq(p54spi_gpio_irq)); 285 287 286 - /* 287 - * need to wait a while before device can be accessed, the length 288 + /* need to wait a while before device can be accessed, the length 288 289 * is just a guess 289 290 */ 290 291 msleep(10); ··· 362 365 /* Firmware may insert up to 4 padding bytes after the lmac header, 363 366 * but it does not amend the size of SPI data transfer. 364 367 * Such packets has correct data size in header, thus referencing 365 - * past the end of allocated skb. Reserve extra 4 bytes for this case */ 368 + * past the end of allocated skb. Reserve extra 4 bytes for this case 369 + */ 366 370 skb = dev_alloc_skb(len + 4); 367 371 if (!skb) { 368 372 p54spi_sleep(priv); ··· 381 383 } 382 384 p54spi_sleep(priv); 383 385 /* Put additional bytes to compensate for the possible 384 - * alignment-caused truncation */ 386 + * alignment-caused truncation 387 + */ 385 388 skb_put(skb, 4); 386 389 387 390 if (p54_rx(priv->hw, skb) == 0)