Chase Southwood
ecc33af33e
staging: comedi: addi_apci_1564: remove apci1564_do_config
...
The DO config function served the purpose of configuring the diagnostic
interrupts for the board. As the driver currently does not support
diagnostic interrupts, the digital output subdevice does not need an
insn_config operation and this function can be safely removed.
Signed-off-by: Chase Southwood <chase.southwood@gmail.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Cc: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:24 -07:00
Ramesh Basukala
5dffac89e2
Staging: bmc: fix coding style warning
...
This is a patch to the vendorspecificextn.c that fixes coding style
warning message line over 80 characters found by checkpatch.pl script.
I am submitting this patch as required by Eudyptula Challenge.
Signed-off-by: Ramesh Basukala <basukalaramesh@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
Phong Tran
b66157f36a
staging: android: ion: Remove redundant return of void function
...
This patch fix checkpatch.pl warning
Tested by compilation only.
Signed-off-by: Phong Tran <tranmanphong@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
Phong Tran
04e14356d5
staging: android: ion: ion.c Add a new blank line after decleration
...
This patch fix checkpatch.pl warning
Tested by compilation only.
Signed-off-by: Phong Tran <tranmanphong@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
Phong Tran
d320c455cb
staging: android: ion: ion_dummy_driver.c Replace kzalloc() by kcalloc()
...
This patch fix checkpatch.pl warning
Tested by compilation only.
Signed-off-by: Phong Tran <tranmanphong@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
Adrian Remonda
4246e490b5
Staging: rtl8188eu: Removed unneeded code.
...
This patch removes some unneeded code.
1) kzalloc() allocates 4 extra bytes so that we can align the return
value. But actually the return value is already aligned so we can
remove the + 4 and the call to N_BYTE_ALIGMENT().
2) The memset() isn't needed because kzalloc() zeroes the allocation.
Suggested-by: Larry Finger <Larry.Finger@lwfinger.net >
Signed-off-by: Adrian Remonda <adrianremonda@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
Adrian Remonda
66ed681a30
Staging: rtl8188eu: Lines over 80 characters fixed.
...
This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line
over 80 characters" warning found by the checkpatch.pl tool.
Signed-off-by: Adrian Remonda <adrianremonda@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:23 -07:00
navin patidar
e7e7068f60
staging: rtl8188eu: Declare Efuse_GetCurrentSize() as a static function
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
43ffc5be9e
staging: rtl8188eu: rtw_iol.h: Remove unused struct, enum and macro
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
1eb87e2206
staging: rtl8188eu: rtw_iol.c: Remove unused functions
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
51e3d8eded
staging: rtl8188eu: Remove unused function iol_ioconfig()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
4ffa54e6b1
staging: rtl8188eu: Remove rtl8188e_IOL_exec_cmds_sync() and its wrapper function
...
rtl8188e_IOL_exec_cmds_sync() is a unused function.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
b5c391a4b0
staging: rtl8188eu: Remove unused function rtw_IOL_cmd_buf_dump()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
63bd7e26d2
staging: rtl8188eu: Remove unused function rtw_IOL_cmd_tx_pkt_buf_dump()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
678826f503
staging: rtl8188eu: Remove unused functions rtw_IOL_append_DELAY_[US, MS]_cmd()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:22 -07:00
navin patidar
94616fbc5c
staging: rtl8188eu: Remove unused function rtw_IOL_exec_cmds_sync()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
91ed283ab5
staging: rtl8188eu: Remove unused function rtw_IOL_append_WD_cmd()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
a758a007ea
staging: rtl8188eu: Remove unused function rtw_IOL_cmd_boundary_handle()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
f549788fa0
staging: rtl8188eu: Remove unused function rtw_IOL_accquire_xmit_frame()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
dcdb40ccab
staging: rtl8188eu: Hal8188EPhyCfg.h: Remove unused function declaration
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
939af24f71
staging: rtl8188eu: Remove unused function storePwrIndexDiffRateOffset()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
e9ff221347
staging: rtl8188eu: Remove odm_RegConfig8188E.[h, c] files
...
driver doesn't require these files anymore.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
9c7d45c24e
staging: rtl8188eu: Cleanup and simplify Baseband configuration code
...
Cleanup and consolidate Baseband configuration related code in
HalHWImg8188E_BB.c file.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
f386a9ce63
staging: rtl8188eu: Remove unused function odm_ConfigMAC_8188E()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
02282888d7
staging: rtl8188eu: Remove unused function odm_ConfigRFReg_8188E()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
40a4325cd9
staging: rtl8188eu: Remove unused functions odm_ConfigRF_Radio[A, B]_8188E()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:21 -07:00
navin patidar
586b608772
staging: rtl8188eu: Cleanup and simplify RF configuration code
...
Cleanup and consolidate RF configuration related code in
HalHWImg8188E_RF.c file.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
navin patidar
ff8f35d8c3
staging: rtl8188eu: Cleanup and simplify MAC configuration code
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
navin patidar
d6c28c23f8
staging: rtl8188eu: Cleanup firmware initialization code
...
Using rtl8188ee's (drivers/net/wireless/rtlwifi/rtl8188ee/fw.c) neat and clean
firmware initialization code to replace rtl8188eu's messy firmware
initialization code.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Jeremiah Mahler
f2ea5ff8a7
staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning
...
A sparse warning is generated about 'ieee80211_debug_init' and
'ieee80211_debug_exit' not being declared.
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c:275:12: warning:
symbol 'ieee80211_debug_init' was not declared. Should it be static?
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c:297:13: warning:
symbol 'ieee80211_debug_exit' was not declared. Should it be static?
These functions are used outside of this file so using static will not
work. The prototypes are given in r8192U_core.c but sparse nonetheless
still gives a warning. Fix the sparse warning by moving these
prototypes from r8192U_core.c to ieee80211.h.
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com >
Cc: Joel Pelaez Jorge <joelpelaez@gmail.com >
Cc: Andrea Merello <andrea.merello@gmail.com >
Cc: "John W. Linville" <linville@tuxdriver.com >
Cc: Joe Perches <joe@perches.com >
Cc: Himangi Saraogi <himangi774@gmail.com >
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com >
Cc: Ana Rey <anarey@gmail.com >
Cc: Chaitanya Hazarey <c@24.io >
Cc: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se >
Cc: Teodora Baluta <teobaluta@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Ovidiu Toader
c4d6b8fbea
drivers/staging/rtl8192u/r8192U_wx.c: fix warnings issued by sparse
...
This minor patch motivated by eudyptula challenge fixes the following warnings issued
by `sparse' in drivers/staging/rtl8192u/r8192U_wx.c:
.../r8192U_wx.c:27:5: warning: symbol 'rtl8180_rates' was not declared. Should it be static?
.../r8192U_wx.c:961:22: warning: symbol 'r8192_get_wireless_stats' was not declared. Should it be static?
.../r8192U_wx.c:990:24: warning: symbol 'r8192_wx_handlers_def' was not declared. Should it be static?
Signed-off-by: Ovidiu Toader <ovi@phas.ubc.ca >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
fe77316521
Staging: bcm: Bcmchar.c: Renamed variable "uiOperation" -> "operation"
...
Renamed variable "uiOperation" -> "operation" in
bcm_char_ioctl_gpio_set_request().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
198d73daac
Staging: bcm: Bcmchar.c: Renamed variable "uiBit" -> "bit"
...
Renamed variable "uiBit" -> "bit" in bcm_char_ioctl_gpio_set_request().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
80c329ad0c
Staging: bcm: Bcmchar.c: Renamed variable "ucResetValue" -> "reset_val"
...
Renamed variable "ucResetValue" -> "reset_val" in
bcm_char_ioctl_gpio_set_request().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
41e7081094
Staging: bcm: Bcmchar.c: Renamed variable "uiTempVar" -> "tmp"
...
Renamed variable "uiTempVar" -> "tmp" in
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_eeprom_reg_read()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
95123f22a1
Staging: bcm: Bcmchar.c: Renamed variable "sWrmBuffer" -> "wrm_buff"
...
Renamed variable "sWrmBuffer" -> "wrm_buff" in
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_eeprom_reg_read()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:20 -07:00
Matthias Beyer
343fae7474
Staging: bcm: Bcmchar.c: Renamed variable "Bufflen" -> "buff_len"
...
Renamed variable "Bufflen" -> "buff_len" in
bcm_char_ioctl_reg_read_private().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
00c6fbcdab
Staging: bcm: Bcmchar.c: Renamed variable "IoBuffer" -> "io_buff"
...
Renamed variable "IoBuffer" -> "io_buff" in
bcm_char_ioctl_reg_read_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_eeprom_reg_read()
bcm_char_ioctl_gpio_set_request()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
201893bc51
Staging: bcm: Bcmchar.c: Renamed variable "sRdmBuffer" -> "rdm_buff"
...
Renamed variable "sRdmBuffer" -> "rdm_buff" in
bcm_char_ioctl_reg_read_private()
bcm_char_ioctl_reg_write_private()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
aafec40c30
Staging: bcm: Bcmchar.c: Renamed variable "Packet" -> "packet"
...
Renamed variable "Packet" -> "packet" in bcm_char_read().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
dab41a0ea8
Staging: bcm: Bcmchar.c: Renamed variable "PktLen" -> "pkt_len"
...
Renamed variable "PktLen" -> "pkt_len" in bcm_char_read().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
f90a8a25f5
Staging: bcm: Bcmchar.c: Renamed variable "pTarang" -> "tarang"
...
Renamed variable "pTarang" -> "tarang" in
bcm_char_open()
bcm_char_release()
bcm_char_read()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
900025a3bd
Staging: bcm: Bcmchar.c: Renamed variable "ulDSDMagicNumInUsrBuff" -> "dsd_magic_num_in_usr_buff"
...
Renamed variable "ulDSDMagicNumInUsrBuff" ->
"dsd_magic_num_in_usr_buff" in handle_flash2x_adapter().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
bd9a40788d
Staging: bcm: Bcmchar.c: Renamed variable "Status" -> "status"
...
Renamed variable "Status" -> "status" in
bcm_handle_nvm_read_cmd()
handle_flash2x_adapter()
bcm_char_ioctl_reg_read_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_eeprom_reg_read()
bcm_char_ioctl_gpio_set_request()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
9dc535b57a
Staging: bcm: Bcmchar.c: Renamed variable "stNVMReadWrite" -> "nvm_rw"
...
Renamed variable "stNVMReadWrite" -> "nvm_rw" in
bcm_handle_nvm_read_cmd()
handle_flash2x_adapter()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
e17219af18
Staging: bcm: Bcmchar.c: Renamed variable "pReadData" -> "read_data"
...
Renamed variable "pReadData" -> "read_data" in
bcm_handle_nvm_read_cmd()
handle_flash2x_adapter()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
5a7add1cc7
Staging: bcm: Bcmchar.c: Renamed variable "Adapter" -> "ad"
...
Renamed variable "Adapter" -> "ad" in
bcm_handle_nvm_read_cmd()
handle_flash2x_adapter()
bcm_char_open()
bcm_char_release()
bcm_char_read()
bcm_char_ioctl_reg_read_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_reg_write_private()
bcm_char_ioctl_eeprom_reg_read()
bcm_char_ioctl_gpio_set_request()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:19 -07:00
Matthias Beyer
bf8fa21cb7
Staging: bcm: Bcmchar.c: Fixed indentation of function arguments
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:18 -07:00
Hema Prathaban
3901270b15
staging: lustre: lustre: ptlrpc: Donot initialise null
...
This patch fixes the following error using checkpatch.pl
Error: Do not initialise statics to 0 or NULL
Signed-off-by: Hema Prathaban <hemaklnce@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:18 -07:00
Hema Prathaban
0028d585b4
staging: lustre: lustre: ptlrpc: Fix pointer declaration
...
This patch fixes the following checkpatch.pl issue in client.c:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Hema Prathaban <hemaklnce@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-08-16 12:23:18 -07:00