Chase Southwood
b5283aab04
staging: comedi: addi_apci_1564: correct typo in macro definition
...
A recent commit introduced a typo in the definition of
APCI1564_DO_CC_INT_DISABLE. The macro is not use yet, so not a huge deal,
but this patch corrects it.
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-30 13:16:19 -07:00
Chase Southwood
6caf601588
staging: comedi: addi_apci_1564: add whitespace to subdevice init
...
For purely aesthetic purposes, add some whitespace to subdevice initialization.
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-30 13:16:19 -07:00
Eli Billauer
2d7f1d1c37
staging: xillybus: Removed read barrier at beginning of ISR
...
The comment (also removed) explains why it was there in the first place, but
that doesn't make much sense.
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Eli Billauer
9959078c96
staging: xillybus: Removed unnecessary smp_wmb()
...
These memory barriers were added "just to be safe".
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Eli Billauer
21fc0b9f9d
staging: xillybus: Removed write memory barriers before wait_event_*()
...
According to Documentation/memory-barriers.txt, a memory barrier is put
in place by wait_event_*()
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Eli Billauer
9fdde3668f
staging: xillybus: Removed mmiowb() as iowrite32() is ordered
...
mmiowb() was used to make sure that iowrite32() take place in the correct
order, which is an unnecessary precuation.
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Eli Billauer
f66a49766f
staging: xillybus: Removed mmiowb() before mutex_unlock()
...
The relevant sequences consist of two I/O memory writes. The second write
depends on the first one. mmiowb() was inserted to make sure that no other
thread inserts a "first write" before the current one finished its second.
As a mutex protects this critical sequence, mmiowb() is unnecessary.
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Eli Billauer
a5b2e028bb
staging: xillybus: Remove mmiowb() before wait_event_*() calls
...
According to Documentation/memory-barriers.txt, a memory barrier is put
in place by wait_event_*()
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:14:41 -07:00
Greg Kroah-Hartman
a4102f90e8
staging: remove nokia_hp4p driver
...
The Bluetooth maintainer has been complaining about it for a while, and
I shouldn't have merged it over his objections. There also has been no
real work done on it at all to get it out of the staging tree, so just
delete the code for now.
If someone wants to get this fixed up properly, feel free to revert this
commit and send the revert, along with cleanups and we will be glad to
consider it.
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>,
Cc: Miguel Oliveira <cmroliv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:10:25 -07:00
Andrew Plummer
86128a0dd6
Staging: bcm: LeakyBucket: format kernel-docs
...
Remove insignificant spaces before tabs in comments.
Signed-off-by: Andrew Plummer <plummer574@gmail.com>
Reviewed-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:08:42 -07:00
Matthias Beyer
7f90417bb9
Staging: bcm: Bcmnet.c: Renamed variable: "IntfAdapter" -> "intf_ad"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:02:23 -07:00
Matthias Beyer
9dd1e5542c
Staging: bcm: Bcmnet.c: Renamed variable: "psIntfAdapter" -> "intf_ad"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:02:23 -07:00
Matthias Beyer
d07b030130
Staging: bcm: Bcmnet.c: Renamed variable: "Adapter" -> "ad"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:02:23 -07:00
Matthias Beyer
e324ae64c6
Staging: bcm: Bcmchar.c: Renamed variable: "NOB" -> "nob"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
b67bc7788f
Staging: bcm: Bcmchar.c: Renamed variable: "pTarang" -> "tarang"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
ad4a9e6d99
Staging: bcm: Bcmchar.c: Renamed variable: "stTimeElapsedSinceNetEntry" -> "time_elapsed_since_net_entry"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
bafa367468
Staging: bcm: Bcmchar.c: Renamed variable: "DevInfo" -> "dev_info"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
bd8107b2b2
Staging: bcm: Bcmchar.c: Renamed variable: "RxCntrlMsgBitMask" -> "rx_cntrl_msg_bit_mask"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
1b2318a19f
Staging: bcm: Bcmchar.c: Renamed variable: "ReadOffset" -> "read_offset"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
bd5148325d
Staging: bcm: Bcmchar.c: Renamed variable: "stNVMRead" -> "nvm_read"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
3f1d98eab6
Staging: bcm: Bcmchar.c: Renamed variable: "SectOfset" -> "sect_offset"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
50a9e6fe6d
Staging: bcm: Bcmchar.c: Renamed variable: "sCopySectStrut" -> "copy_sect_strut"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
d35be09d77
Staging: bcm: Bcmchar.c: Renamed variable: "eFlash2xSectionVal" -> "flash_2x_section_val"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
d16c8489c1
Staging: bcm: Bcmchar.c: Renamed variable: "psFlash2xBitMap" -> "flash_2x_bit_map"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:39 -07:00
Matthias Beyer
57240f0434
Staging: bcm: Bcmchar.c: Renamed variable: "WriteOffset" -> "write_off"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
1b81edbc3d
Staging: bcm: Bcmchar.c: Renamed variable: "InputAddr" -> "input_addr"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
63f7a797f6
Staging: bcm: Bcmchar.c: Renamed variable: "pWriteBuff" -> "write_buff"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
b69e66bcc0
Staging: bcm: Bcmchar.c: Renamed variable: "WriteBytes" -> "write_bytes"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
ca3c80c280
Staging: bcm: Bcmchar.c: Renamed variable: "ReadBytes" -> "read_bytes"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
ac56aa228a
Staging: bcm: Bcmchar.c: Renamed variable: "BuffSize" -> "buff_size"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
3416bc8723
Staging: bcm: Bcmchar.c: Renamed variable: "pReadBuff" -> "read_buff"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
ddf559a91a
Staging: bcm: Bcmchar.c: Renamed variable: "sFlash2xRead" -> "flash_2x_read"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
f45700481f
Staging: bcm: Bcmchar.c: Renamed variable: "pReadData" -> "read_data"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
bad5f56d0e
Staging: bcm: Bcmchar.c: Renamed variable: "stNVMReadWrite" -> "nvm_rw"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
0622a6f46c
Staging: bcm: Bcmchar.c: Renamed variable: "sUserDebugState" -> "user_debug_state"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
70edad0eaa
Staging: bcm: Bcmchar.c: Renamed variable: "uiSectorSize" -> "sector_size"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
db1f4df0b3
Staging: bcm: Bcmchar.c: Renamed variable: "uiTempVar" -> "tmp"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:38 -07:00
Matthias Beyer
81d69c748a
Staging: bcm: Bcmchar.c: Renamed variable: "pBulkBuffer" -> "bulk_buff"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
27c3180801
Staging: bcm: Bcmchar.c: Renamed variable: "uiData" -> "data"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
2955572eaa
Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
7029fbb761
Staging: bcm: Bcmchar.c: Renamed variable: "NVMAccess" -> "nvm_access"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
3f262b21da
Staging: bcm: Bcmchar.c: Renamed variable: "psFwInfo" -> "fw_info"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
ea3d010d3b
Staging: bcm: Bcmchar.c: Renamed variable: "ulSFId" -> "sf_id"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
f9940ea6b6
Staging: bcm: Bcmchar.c: Renamed variable: "pvBuffer" -> "buff"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
0ed2c01674
Staging: bcm: Bcmchar.c: Renamed variable: "ucResetValue" -> "reset_val"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
5ab1b7f2ae
Staging: bcm: Bcmchar.c: Renamed variable: "Status" -> "status"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
92dae16fb4
Staging: bcm: Bcmchar.c: Renamed variable: "ucRead" -> "read"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
a00765a0da
Staging: bcm: Bcmchar.c: Renamed variable: "uiBit" -> "bit"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
9b62b9636c
Staging: bcm: Bcmchar.c: Renamed variable: "IoBuffer" -> "io_buff"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00
Matthias Beyer
657c65dd66
Staging: bcm: Bcmchar.c: Renamed variable: "threadReq" -> "thread_req"
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30 13:01:37 -07:00