Benjamin Romer
5fc0229ae5
staging: unisys: remove U64 type
...
This patch switches all use of the U64 typedef to use the kernel's u64 type
instead.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-01 14:38:44 -07:00
Benjamin Romer
b3c55b13a1
staging: unisys: remove U32 type
...
This patch switches all use of the U32 typedef to use the kernel's u32 type
instead.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-01 14:38:44 -07:00
Benjamin Romer
b06bdf7d5b
staging: unisys: remove U16 type
...
This patch switches all use of the U16 typedef to use the kernel's u16 type
instead.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-01 14:38:44 -07:00
Fabio Falzoi
bf6c0d110e
Staging: rts5208: Replace custom macro with dev_dbg
...
Use dev_dbg macro to control tracing verbosity through dynamic debug facility.
Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:22:18 -07:00
Fabio Falzoi
9036b4e976
Staging: rts5208: Remove useless debug prints
...
Remove all debug printks used just to mark when we enter a function.
Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:22:18 -07:00
Thierry Reding
b5b628ba49
staging/nvec: Use platform_get_irq()
...
As opposed to platform_get_resource(), the platform_get_irq() function
has special code to handle driver probe deferral when booting using DT
and where an interrupt provider hasn't been registered yet. While this
is unlikely to become an issue for nvec, platform_get_irq() is the
recommended way to get at interrupts.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:18:47 -07:00
Thierry Reding
47e7b05001
staging/nvec: Do not pass resource to mfd_add_devices()
...
The mfd_add_devices() function takes a struct resource * as fifth
argument, but the nvec driver passes in a void __iomem *. The driver
gets away with it because none of the subdevices ever directly access
the registers.
Since subdevices never need to access the registers we can simply pass
NULL instead.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:18:47 -07:00
Murilo Opsfelder Araujo
6aa2621183
Staging: android: timed_output.c: use kstrtoint() instead of sscanf()
...
This patch makes checkpatch.pl happy by fixing the following warning:
WARNING: Prefer kstrto<type> to single variable sscanf
Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:17:02 -07:00
navin patidar
7ebd4cba67
staging: rtl8188eu: Remove wrapper function _rtw_reordering_ctrl_timeout_handler()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:10 -07:00
navin patidar
a16d66b8fe
staging: rtl8188eu: Remove unused function rtw_os_read_port()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:10 -07:00
navin patidar
fe8717062d
staging: rtl8188eu: Remove wrapper function _addba_timer_hdl()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:10 -07:00
navin patidar
b148cdd7b6
staging: rtl8188eu: Remove wrapper function _link_timer_hdl()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:10 -07:00
navin patidar
0120668adc
staging: rtl8188eu: Remove wrapper function _survey_timer_hdl()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:09 -07:00
navin patidar
bd29334313
staging: rtl8188eu: Remove wrapper function _dynamic_check_timer_handlder()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:09 -07:00
navin patidar
14225ed0f2
staging: rtl8188eu: Remove wrapper function _rtw_scan_timeout_handler()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:09 -07:00
navin patidar
457c3e90d5
staging: rtl8188eu: Remove wrapper function rtw_join_timeout_handler()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:09 -07:00
navin patidar
d53791f7fe
staging: rtl8188eu: Remove unused member MultiFunc from struct hal_data_8188e
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:16:09 -07:00
Seunghun Lee
e325f661cb
staging: dgnc: removes unused if defined code
...
DGNC_TRACER and TRC_TO_KMEM are never defined.
This patch removes if defined DGNC_TRACER and TRC_TO_KMEM code.
CC: Lidza Louina <lidza.louina@gmail.com>
CC: Mark Hounschell <markh@compro.net>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:15:12 -07:00
Matthias Beyer
81a208f8a0
Staging: bcm: Qos.c: checkpatch.pl fix: Indentation of case-statements fixed
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
8613091369
Staging: bcm: Qos.c: checkpatch.pl fix: Removed parentheses from return statement
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
4064bbe3f2
Staging: bcm: Qos.c: checkpatch.pl fix: Transformed C99-style comments
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
b7450ca8c7
Staging: bcm: Qos.c: checkpatch.pl fix: Added blank lines after declarations
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
5849169b55
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EThCSGetPktInfo()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
a06de46a09
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EThCSClassifyPkt()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
aed831f86b
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EthCSMatchVLANRules()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
3343b2ec4b
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EthCSMatchEThTypeSAP()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
e519545e76
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EthCSMatchDestMACAdress()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:24 -07:00
Matthias Beyer
2a69ef5b02
Staging: bcm: Qos.c: Line length / Whitespace cleanup in EthCSMatchSrcMACAdress()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
894bd303e3
Staging: bcm: Qos.c: Line length / Whitespace cleanup in ClassifyPacket()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
34cad16c84
Staging: bcm: Qos.c: Line length / Whitespace cleanup in flush_all_queues()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
0f17434187
Staging: bcm: Qos.c: Line length / Whitespace cleanup in PruneQueue()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
a21a3fe440
Staging: bcm: Qos.c: Line length / Whitespace cleanup in IpVersion4()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
5fb136700d
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchDestPort()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
66fa6530fa
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcPort()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
fcaa42c71a
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchProtocol()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
0144b84e0c
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchTos()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
bacc620b1d
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchDestIpAddress()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
b2e6c772e4
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcIpAddress()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:23 -07:00
Matthias Beyer
1ccbecddbc
Staging: bcm: Qos.c: Replaced if-else return with ternary operator
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
b8ab70b046
Staging: bcm: Qos.c: Replaced do-while(0) breaks with continue
...
This patch replaces the do-while(0); loop which is used for breaking if
a check fails by using the `continue` statement. This saves one
indentation level.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
81797eaf79
Staging: bcm: Qos.c: Replaced member accessing by variable in flush_all_queues()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
a3a741c651
Staging: bcm: Qos.c: Replaced member accessing with variable in PruneQueue()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
6ff4d01016
Staging: bcm: Qos.c: Replaced do-while(0) jumps with goto and label, removes one level of indentation
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
e6afae3854
Staging: bcm: Qos.c: Replaced member accessing with variable in MatchDestIpAddress()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
7966988088
Staging: bcm: Qos.c: Replaced member accessing with variable in PruneQueue()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:14:22 -07:00
Matthias Beyer
506da6a6f1
Staging: bcm: IPv6Protocol.c: Line length fixes
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:13:24 -07:00
Matthias Beyer
dca9fe7b2c
Staging: bcm: IPv6Protocol.c: Whitespace cleanup
...
Removes whitespace before semicolons and add blank line after
declaration.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:13:24 -07:00
Matthias Beyer
bb76972441
Staging: bcm: IPv6Protocol.c: Replaced member accessing with variable
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:13:24 -07:00
Matthias Beyer
4d7598370a
Staging: bcm: IPv6Procotol.c: Replaced member accessing with variable
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:13:24 -07:00
Matthias Beyer
a370ad07b7
Staging: bcm: IPv6Protocol.c: Removed unnecessary if-else blocks
...
This patch simplifies
if (a) {
x = false;
} else {
if (b) {
x = false;
}
}
to
if (a || b) {
x = false;
}
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-30 17:13:24 -07:00