2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 11:43:54 +08:00
linux-next/drivers/staging/rts5208
Bhumika Goyal eff8bf8243 Staging: rts5208: Use min instead of ternary operator
This patch replaces ternary operator with macro min as it shorter and
thus increases code readability. Macro min returns the minimum of the
two compared values.
Made a semantic patch for changes:

@@
type T;
T x;
T y;
@@
(
- x < y ? x : y
+ min(x,y)
|
- x > y ? x : y
+ max(x,y)
)

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
general.c
general.h
Kconfig
Makefile
ms.c Staging: rts5208: Remove unnecessary parentheses 2016-03-11 22:09:09 -08:00
ms.h
rtsx_card.c
rtsx_card.h
rtsx_chip.c Staging: rts5208: Coding style warnings fix for block comments 2015-09-21 09:56:50 -07:00
rtsx_chip.h
rtsx_scsi.c staging: rts5208: Removed unnecessary return variable 2016-03-11 22:09:09 -08:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: rtsx_transport.c: Drop void pointer cast 2016-03-11 22:09:09 -08:00
rtsx_transport.h
rtsx.c staging: rts5208: rtsx.c: Drop unneeded void pointer cast 2016-03-11 22:09:09 -08:00
rtsx.h staging: rts5208: Use common pci_get_bus_and_slot() instead of private one 2015-06-08 13:38:56 -07:00
sd.c Staging: rts5208: Use min instead of ternary operator 2016-03-11 22:09:09 -08:00
sd.h
spi.c staging: rts5208: Removed blank lines 2016-02-07 20:03:50 -08:00
spi.h
TODO
trace.c
trace.h
xd.c Staging: rts5208: xd: Fixed checkpatch warning 2015-06-12 17:12:16 -07:00
xd.h