Commit 21e69b72 authored by Giedrius Statkevičius's avatar Giedrius Statkevičius Committed by Greg Kroah-Hartman
Browse files

staging: rts5208: align divided lines to opening paranthesis



Make all divided lines aligned to the opening paranthesis.

Basically makes all lines aligned to the opening paranthesis to make the
code more readable and it also gets rid of a lot of checkpatch.pl
"checks".

Signed-off-by: default avatarGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e050dda1
Loading
Loading
Loading
Loading
+45 −42
Original line number Diff line number Diff line
@@ -126,7 +126,8 @@ static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip)
	if (chip->ignore_sd && CHK_SDIO_EXIST(chip)) {
		if (chip->asic_code) {
			RTSX_WRITE_REG(chip, CARD_PULL_CTL5, 0xFF,
				MS_INS_PU | SD_WP_PU | SD_CD_PU | SD_CMD_PU);
				       MS_INS_PU | SD_WP_PU |
				       SD_CD_PU | SD_CMD_PU);
		} else {
			RTSX_WRITE_REG(chip, FPGA_PULL_CTL, 0xFF,
				       FPGA_SD_PULL_CTL_EN);
@@ -1069,8 +1070,8 @@ void rtsx_polling_func(struct rtsx_chip *chip)
						rtsx_write_register(chip, HOST_SLEEP_STATE, 0x03, 1);

					rtsx_write_register(chip,
							CHANGE_LINK_STATE, 0x0A,
							0x0A);
							    CHANGE_LINK_STATE,
							    0x0A, 0x0A);

					if (enter_L1)
						rtsx_enter_L1(chip);
@@ -1082,7 +1083,9 @@ void rtsx_polling_func(struct rtsx_chip *chip)
					if (enter_L1)
						rtsx_write_register(chip, HOST_SLEEP_STATE, 0x03, 1);

					rtsx_write_register(chip, CHANGE_LINK_STATE, 0x02, 0x02);
					rtsx_write_register(chip,
							    CHANGE_LINK_STATE,
							    0x02, 0x02);

					if (enter_L1)
						rtsx_enter_L1(chip);