[go: nahoru, domu]

History log of /drivers/staging/vt6655/channel.c
Revision Date Author Comments
48caf5a060491edb2e1793539dad72e70c54c869 17-Aug-2014 Joe Perches <joe@perches.com> staging: vt6655: Convert DBG_PRT to pr_<level>

DBG_PRT uses are unnecessarily complex.

Convert DBG_PRT msglevel to pr_<level>.
This changes the KERN_<level> type of several uses.
It also enables dynamic_debug for the pr_debug conversions.

This patch can be a prelude to converting these pr_<level>
uses to dev_<level> as appropriate.

Other changes:

Realign arguments of these conversions.
Remove now unused static int msglevel declarations.
Remove now unused DBG_PRT #define.

Compile tested only.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0ffc58742d835b83fa9f055233c11dcdf6724e77 10-Aug-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: channel/wcmd/wctl/wmgr use struct vnt_private *

Replacing PSDevice.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bc5cf6563576bb36baa7e93417b9a2e29999a5c6 19-Apr-2014 Guido Martínez <guido@vanguardiasur.com.ar> staging: vt6655: fix checkpatch bracing issues

This patchs fixes tons of warnings such as:

WARNING: braces {} are not necessary for single statement blocks
#354: FILE: drivers/staging/vt6655/wmgr.c:354:
+ for (ii = 0; ii < WLAN_BSSID_LEN; ii++) {
+ pMgmt->abyDesireBSSID[ii] = 0xFF;
+ }

Please note: this patch only fixes bracing issues (and there is still a
lot to do); so if you run checkpatch it _will_ throw a lot of errors.
Use --test->
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4e8a7e5fc29697f881f5c358f84df52914908703 19-Apr-2014 Guido Martínez <guido@vanguardiasur.com.ar> staging: vt6655: remove dead code

Remove dead code in many places on this driver.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1208f14a37fde2669b86bf1b1cd1122ad2ba3579 10-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: delete explicit comparison to bool

This patch fixes the following type of coccinelle detected warnings for
driver vt6655:

WARNING: Comparison to bool

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
96d69e201bbdb05c363e899138f9f42bc8ad8f88 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove unnecessary blank lines

Remove a bunch of useless vertical whitespace.

Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a4ef27ad02e0bfd165e81d6a4f3771ace42ebe41 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove unnecessary parentheses from returns

Returns aren't functions, remove the parentheses to be
more kernel style like.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Convert to kernel brace style

Move braces around to be more kernel like.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f2046f93db0918f99875853772142143590ba0c6 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove commented out printks

These are just noise in the code so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
86fcb55d073ce3a3a990a1cffe930cd127db7a66 18-Mar-2013 Joe Perches <joe@perches.com> staging:vt6655:channel: Whitespace cleanups

Neatening only.
git diff -w shows no differences.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
40a0136b5a7113ccf8d17e56c1f25f63427c4022 08-Jan-2013 Devendra Naga <devendra.aaru@gmail.com> staging: vt6655: no braces needed for single statement if , for blocks

there is only one line inside the if and for blocks, so the braces are
not needed

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7b6a001313a9b11a1f0985de05fff514db41d72d 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace BOOL with in kernel bool

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace FALSE with in kernel false

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1b12068a804711ae2f4fd2876d5706542c1d7ad9 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace TRUE with in kernel true

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3fc9b584c28095fe0d46cfb8bddafdf93947042e 24-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove BYTE typedef

Replace all occurrences with unsigned char type.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
79566eb2df013f0ed20e548f4be0f8afbe78f9a3 21-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: move channel mapping code from card.c to channel.c

Move functions managing the channel mapping to a new channel.c file, as done in
the staging VT6656 driver. The function names contained in card.c were prefixed
with CARD followed by the first letter of the return code, remove this and use
more coherent function names.

The following functions moved and were renamed:

ChannelValid -> is_channel_valid
CARDbSetChannel -> set_channel
CARDvInitChannelTable -> init_channel_table
CARDbyGetChannelMapping -> get_channel_mapping
CARDvSetCountryInfo -> set_country_info
CARDbySetSupportChannels -> set_support_channels
CARDbChannelGetList -> channel_get_list
CARDvSetCountryIE -> set_country_IE
CARDbGetChannelMapInfo -> get_channel_map_info
CARDvSetChannelMapInfo -> set_channel_map_info
CARDvClearChannelMapInfo -> clear_channel_map_info
CARDbyAutoChannelSelect -> auto_channel_select
CARDbyGetChannelNumber -> get_channel_number

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>