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

staging: vt6656: struct vnt_private rename byBBPreEDIndex with bb_pre_ed_index

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
43fd1924 12687222

+4 -4
+3 -3
drivers/staging/vt6656/baseband.c
··· 568 568 void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) 569 569 { 570 570 u8 cr_201 = 0x0, cr_206 = 0x0; 571 - u8 ed_inx = priv->byBBPreEDIndex; 571 + u8 ed_inx = priv->bb_pre_ed_index; 572 572 573 573 switch (priv->rf_type) { 574 574 case RF_AL2230: ··· 816 816 817 817 } 818 818 819 - if (ed_inx == priv->byBBPreEDIndex && !scanning) 819 + if (ed_inx == priv->bb_pre_ed_index && !scanning) 820 820 return; 821 821 822 - priv->byBBPreEDIndex = ed_inx; 822 + priv->bb_pre_ed_index = ed_inx; 823 823 824 824 dev_dbg(&priv->usb->dev, "%s bb_pre_ed_rssi %d\n", 825 825 __func__, priv->bb_pre_ed_rssi);
+1 -1
drivers/staging/vt6656/device.h
··· 386 386 u8 bb_vga[BB_VGA_LEVEL]; 387 387 388 388 u8 bb_pre_ed_rssi; 389 - u8 byBBPreEDIndex; 389 + u8 bb_pre_ed_index; 390 390 391 391 /* command timer */ 392 392 struct delayed_work run_command_work;