Malcolm Priestley
36c69f3ce5
staging: vt6656: BBvExitDeepSleep remove camel case.
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:23 -07:00
Malcolm Priestley
07c116f29c
staging: vt6656: BBvSetDeepSleep remove camel case
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
15897f6724
staging: vt6656: BBvSetVGAGainOffset remove camel case
...
pDevice -> priv
byData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
4bdb312028
staging: vt6656: BBvSetShortSlotTime remove camel case.
...
pDevice -> priv
byBBVGA -> bb_vga
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
53dab3280b
staging: vt6656: BBvSetAntennaMode remove camel case.
...
changes
pDevice -> priv
byAntennaMode -> antenna_mode
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
efe40c09b8
staging: vt6656: clean up BBvSetAntennaMode.
...
white space clean up.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
a1ff543514
staging: vt6656: BBvCalculateParameter remove camel case
...
Camel case changes
pDevice, cbFrameLength, wRate, byPacketType, cbBitCount, cbUsCount
cbTmp, bExtBit, byPreambleType
->
priv, frame_length, tx_rate, pkt_type, bit_count, count,
tmp, ext_bit, preamble_type
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:22 -07:00
Malcolm Priestley
a4fb3e78b7
staging: vt6656: checkpatch cleanup BBvCalculateParameter.
...
White space clean up.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
030ede1e0e
staging: vt6656: BBuGetFrameTime remove camel case.
...
Camel case changes.
byPreambleType, byPktType, cbFrameLength, uFrameTime, uPreamble, uTmp, uRate
->
preamble_type, pkt_type, frame_length, frame_time, preamble, tmp, rate
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
3b5a89ca3d
staging: vt6656: BBuGetFrameTime remove uRateIdx
...
Remove uRateIdx and rename wRate tx_rate
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
4d99952df1
staging: vt6656: checkpatch cleanup BBuGetFrameTime.
...
clean up white space.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
2a4ee86f04
staging; vt6656: dead code aes_ccmp.
...
After dead code dpc hostapd remove aes.c/h
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
7a24390d0f
staging: vt6656: dead code bRelayPacketSend
...
After dead code hostapd remove bRelayPacketSend
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:21 -07:00
Malcolm Priestley
c0fcac91f3
staging: vt6656: dpc.c remove hostapd
...
Remove dead functions
s_bAPModeRxCtl
s_bAPModeRxData
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:20 -07:00
Malcolm Priestley
90f96acd1b
staging: vt6656: Remove hostapd functions.
...
Remove throughout driver
bEnableHostapd
bEnable8021x
bEnableHostWEP
struct net_device *apdev
tx_80211
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:20 -07:00
Malcolm Priestley
a30d534bda
staging: vt6656: Remove dead code hostap.
...
It is based on viawget, proprietary version of wpa supplicant.
The code is not compatible with the current version of hostapd.
It may be possible to implement when the driver is fully converted
to mac80211.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 15:23:20 -07:00
Anton Saraev
0264b7b7fb
staging: crypto: skein: rename macros
...
Mixing upper and lower case in names of macros like It_Is_Macro is
not accepted in the Linux Kernel. To prepare skein driver for mainline
inclusion, we rename all macros to uppercase or lowercase names.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Reviewed-by: Jake Edge <jake@lwn.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 14:18:14 -07:00
Anton Saraev
9435d3ace6
staging: crypto: skein: rename enums
...
Linux Kernel use capitalized names for enum. To prepare skein
driver to mainline inclusion, we rename all enums to capitalized
names.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Reviewed-by: Jake Edge <jake@lwn.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 14:18:14 -07:00
Anton Saraev
3201b7f25e
staging: crypto: skein: rename skein1024_ctx to skein_1024_ctx
...
Code have skein_512_ctx and skein_256_ctx but skein1024_ctx.
It would be logical to convert these names to a single form.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Reviewed-by: Jake Edge <jake@lwn.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 14:18:14 -07:00
Anton Saraev
95f1840a7e
staging: crypto: skein: rename camelcase vars
...
camelCase is not accepted in the Linux Kernel. To prepare skein
driver for mainline inclusion, we rename all vars to
non-camelCase equivalents.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Reviewed-by: Jake Edge <jake@lwn.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 14:18:14 -07:00
Anton Saraev
68ace624a6
staging: crypto: skein: rename camelcase functions
...
camelCase is not accepted in the Linux Kernel. To prepare skein
driver for mainline inclusion, we rename all functions to
non-camelCase equivalents.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Reviewed-by: Jake Edge <jake@lwn.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 13:20:08 -07:00
Jason Cooper
6559e221a1
staging: crypto: skein: depend upon CRYPTO
...
Fengguang's randconfig kernel build tester discovered the following
warnings:
warning: (CRYPTO_THREEFISH) selects CRYPTO_ALGAPI which has unmet direct dependencies (CRYPTO)
warning: (DM_VERITY && CRYPTO_SKEIN) selects CRYPTO_HASH which has unmet direct dependencies (CRYPTO)
Fix this in the Kconfig by depending on CRYPTO.
Reported-by: Fengguang Wu <fengguang.wu@intel.com >
Signed-off-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Marek Vasut <marex@denx.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-19 12:56:58 -07:00
Masaru Nomura
50667c67db
staging: dgnc: Remove extra curly braces
...
Remove unnecessary curly braces of if statements in dgnc_neo.c and
dgnc_tty.c to meet kernel coding style.
Signed-off-by: Masaru Nomura <massa.nomura@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:11:24 -07:00
Masaru Nomura
33cfbaf5d0
staging: dgnc: dgnc_neo: Clean up if statement
...
Fix line over 80 characters and indenting of condition part.
Also, remove unnecessary braces to meet coding style.
Signed-off-by: Masaru Nomura <massa.nomura@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:11:24 -07:00
Masaru Nomura
2000c581d8
staging: dgnc: Put else statements on the right line
...
Fix indenting of if-else statement in dgnc_neo.c and dgnc_tty.c
so that following else-if or else statement meets coding style.
Signed-off-by: Masaru Nomura <massa.nomura@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:11:24 -07:00
Lubomir Rintel
5a0ba45727
staging: xgifb: Update TODO
...
There's no more printk abuse, it's been sorted out in
448810662a ("Staging: xgifb: Remove printk usage.")
Extra ifdefs have been fixed too, mostly in
800d67cf9f ("staging: xgifb: eliminate #ifdef Tap4"),
c39aada692 ("staging: xgifb: eliminate #ifdef XGIFB_PAN"),
fa4c212f2b ("staging: xgifb: delete unused definitions"),
5c167b30c1 ("staging: xgifb: eliminate #ifdef NewScratch"),
f059077388 ("Staging: xgifb: Remove #ifdef MODULE") and more.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:03:32 -07:00
Lubomir Rintel
51c4491457
staging: xgifb: Drop some more useless defines
...
SetLCDStdMode is not supported as of 34c13ee2b6 ("staging: xgifb: drop
code for legacy VGA modes").
DisableLCD24bpp defined to zero was never realy useful and went away with
aa56b2790a ("staging: xgifb: vb_table: delete XGI21_LCDCapList").
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:03:31 -07:00
Lubomir Rintel
a5c79d610f
staging: xgifb: Initialize Part0Port
...
It was left uninitialized, likely overseen, in this commit:
56810a92c6 ("staging: xgifb: use XGIRegInit()
Avoid copy-paste and use XGIRegInit() to initialize registers addresses.")
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:03:31 -07:00
Lubomir Rintel
bb7e5ed497
staging: xgifb: Eliminate useless ifndefs
...
XGI_VB_CHIP_TYPE, PCI_DEVICE_ID_XGI_42 and PCI_DEVICE_ID_XGI_27
are never defined.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 10:03:31 -07:00
Malcolm Priestley
9cade5aceb
staging: vt6656: Remove always true bUpdateBBVGA
...
Remove true if statements.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:31 -07:00
Malcolm Priestley
c729b0a4de
staging: vt6656: vnt_private remove dead variables.
...
byBBCR4d
byBBCRc9
byBBCR88
byBBCR09
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:31 -07:00
Malcolm Priestley
0fc64c1579
staging: vt6656: vnt_private remove dead variables
...
byFOETuning
byAutoPwrTunning
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:31 -07:00
Malcolm Priestley
085f7c437f
staging: vt6656: vnt_private remove dead variables.
...
dwAotoRateTxOkCnt
dwAotoRateTxFailCnt
dwErrorRateThreshold
dwTPTable
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:31 -07:00
Malcolm Priestley
e7cb8e25eb
staging: vt6656: Remove unused variable byACKRate.
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:31 -07:00
Malcolm Priestley
6983df6fbc
staging: vt6656: Remove unused variable uScanTime.
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:30 -07:00
Malcolm Priestley
f576abc8fc
staging: vt6656: Remove dead variable bCCK.
...
bCCK is always true remove all false conditions and
local variable.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:30 -07:00
Malcolm Priestley
a0522e88c0
staging: vt6656: Remove unused variable ulTxPower.
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:30 -07:00
Malcolm Priestley
2486890a93
staging: vt6656: Remove unused variable byRevId.
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:30 -07:00
Malcolm Priestley
60f8ce8dd6
staging: vt6656: rndis.h move all to device.h
...
Commands macros are common to all source files.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:30 -07:00
Malcolm Priestley
887651e00e
staging: vt6656: rndis.h remove dead code.
...
Remove dead structures and macros.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
15baf4ff62
staging: vt6656: srom.h move all macros to device.h
...
Remove srom.h
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
399db90dd7
staging: vt6656: srom.h : Remove dead code.
...
Remove macros and unused strutures.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
bffa42e151
staging: vt6656: desc.h Remove unused macros
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
d4f376ddbe
staging: vt6656: device.h remove dead macros
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
4aeaf1538f
staging: vt6656: device_cfg.h Move macros to device.h
...
Remove device_cfg.h
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:29 -07:00
Malcolm Priestley
fe7111aa93
staging: vt6656: device_cfg.h remove dead code.
...
Also unneeded #ifndef
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:28 -07:00
Malcolm Priestley
9af49fdbdd
staging: vt6656: PIPEnsControlIn remove camel case.
...
Camel case changes
pDevice, byRequest, wValue, wIndex, wLength, pbyBuffer, ntStatus
->
priv, request, value, index, length, buffer, status
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:28 -07:00
Malcolm Priestley
0f06a73949
staging: vt6656: PIPEnsControlOut remove camel case.
...
Camel case changes
pDevice, byRequest, wValue, wIndex, wLength, pbyBuffer, ntStatus
->
priv, request, value, index, length, buffer, status
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:28 -07:00
Malcolm Priestley
8a6602614a
staging: vt6656: usbpipe: replace debug messsages.
...
Replace all DBG_PRT wiht dev_dbg
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:28 -07:00
Malcolm Priestley
f347d8cbd0
staging: vt6656: usbpipe: get rid of in/out debug messages.
...
Remove all in/out debug messages.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-05-18 09:58:28 -07:00