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

staging:r8180: coding style: Fixed commenting style

This is a patch to the r8180_93cx6.c file that fixes
commenting style warning

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sanjeev Sharma and committed by
Greg Kroah-Hartman
2ad99c50 29dd4f9b

+9 -6
+9 -6
drivers/staging/rtl8192u/r8180_93cx6.c
··· 103 103 u32 ret; 104 104 105 105 ret = 0; 106 - //enable EPROM programming 106 + /* enable EPROM programming */ 107 107 write_nic_byte_E(dev, EPROM_CMD, 108 108 (EPROM_CMD_PROGRAM<<EPROM_CMD_OPERATING_MODE_SHIFT)); 109 109 force_pci_posting(dev); ··· 133 133 eprom_send_bits_string(dev, read_cmd, 3); 134 134 eprom_send_bits_string(dev, addr_str, addr_len); 135 135 136 - //keep chip pin D to low state while reading. 137 - //I'm unsure if it is necessary, but anyway shouldn't hurt 136 + /* 137 + * keep chip pin D to low state while reading. 138 + * I'm unsure if it is necessary, but anyway shouldn't hurt 139 + */ 138 140 eprom_w(dev, 0); 139 141 140 142 for (i = 0; i < 16; i++) { 141 - //eeprom needs a clk cycle between writing opcode&adr 142 - //and reading data. (eeprom outs a dummy 0) 143 + /* eeprom needs a clk cycle between writing opcode&adr 144 + * and reading data. (eeprom outs a dummy 0) 145 + */ 143 146 eprom_ck_cycle(dev); 144 147 ret |= (eprom_r(dev)<<(15-i)); 145 148 } ··· 150 147 eprom_cs(dev, 0); 151 148 eprom_ck_cycle(dev); 152 149 153 - //disable EPROM programming 150 + /* disable EPROM programming */ 154 151 write_nic_byte_E(dev, EPROM_CMD, 155 152 (EPROM_CMD_NORMAL<<EPROM_CMD_OPERATING_MODE_SHIFT)); 156 153 return ret;