staging: rtl8192u: Add space around binary operators
This patch fixes the file r8180_93cx6.c to avoid the checkpatch.pl warnings: CHECK: spaces preferred around that '<<' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com> Link: https://lore.kernel.org/r/20190822193535.14357-1-sylphrenadin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
684c215dd0
commit
cadcc6b20d
|
@ -114,7 +114,7 @@ int eprom_read(struct net_device *dev, u32 addr)
|
|||
ret = 0;
|
||||
/* enable EPROM programming */
|
||||
write_nic_byte_E(dev, EPROM_CMD,
|
||||
(EPROM_CMD_PROGRAM<<EPROM_CMD_OPERATING_MODE_SHIFT));
|
||||
(EPROM_CMD_PROGRAM << EPROM_CMD_OPERATING_MODE_SHIFT));
|
||||
force_pci_posting(dev);
|
||||
udelay(EPROM_DELAY);
|
||||
|
||||
|
@ -157,7 +157,7 @@ int eprom_read(struct net_device *dev, u32 addr)
|
|||
if (err < 0)
|
||||
return err;
|
||||
|
||||
ret |= err<<(15-i);
|
||||
ret |= err << (15 - i);
|
||||
}
|
||||
|
||||
eprom_cs(dev, 0);
|
||||
|
@ -165,6 +165,6 @@ int eprom_read(struct net_device *dev, u32 addr)
|
|||
|
||||
/* disable EPROM programming */
|
||||
write_nic_byte_E(dev, EPROM_CMD,
|
||||
(EPROM_CMD_NORMAL<<EPROM_CMD_OPERATING_MODE_SHIFT));
|
||||
(EPROM_CMD_NORMAL << EPROM_CMD_OPERATING_MODE_SHIFT));
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue