staging: rts5208: Remove negations
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Wed, 29 May 2019 13:15:31 +0000 (18:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:13:45 +0000 (14:13 -0700)
commiteb2b3edfd427d11e9553aaf772b40fb18e42fbba
tree20f90c80130464b485120a3ff9e279ecf35bd117
parent8fe0260030b8e6c944fceb452a6a36fc1c7daf87
staging: rts5208: Remove negations

Previously return variable fake_para was being negated before return.
For simplification, fake_para can be changed to valid_para, which is
returned without negation (corresponding values swapped accordingly).
Further, the function names check_sd_current_prior and check_sd_speed_prior
can be changed to valid_sd_current_prior and valid_sd_speed_prior
respectively for greater clarity on the purpose of the functions.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_chip.c