mirror of https://gitee.com/openkylin/linux.git
Staging: rts5208: Fix code indentation warning as detected by checkpatch.pl
Fixed code indentation warning as detected by checkpatch.pl. Signed-off-by: Yash Shah <yshah1@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a96389d9ad
commit
66e6d70df2
|
@ -1121,11 +1121,10 @@ static int ms_read_attribute_info(struct rtsx_chip *chip)
|
||||||
|
|
||||||
#ifdef SUPPORT_MSXC
|
#ifdef SUPPORT_MSXC
|
||||||
if ((buf[cur_addr_off + 8] == 0x10) ||
|
if ((buf[cur_addr_off + 8] == 0x10) ||
|
||||||
(buf[cur_addr_off + 8] == 0x13))
|
(buf[cur_addr_off + 8] == 0x13)) {
|
||||||
#else
|
#else
|
||||||
if (buf[cur_addr_off + 8] == 0x10)
|
if (buf[cur_addr_off + 8] == 0x10) {
|
||||||
#endif
|
#endif
|
||||||
{
|
|
||||||
sys_info_addr = ((u32)buf[cur_addr_off + 0] << 24) |
|
sys_info_addr = ((u32)buf[cur_addr_off + 0] << 24) |
|
||||||
((u32)buf[cur_addr_off + 1] << 16) |
|
((u32)buf[cur_addr_off + 1] << 16) |
|
||||||
((u32)buf[cur_addr_off + 2] << 8) |
|
((u32)buf[cur_addr_off + 2] << 8) |
|
||||||
|
|
|
@ -246,11 +246,10 @@ static int sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef SUPPORT_SD_LOCK
|
#ifdef SUPPORT_SD_LOCK
|
||||||
if (ptr[1] & 0x7D)
|
if (ptr[1] & 0x7D) {
|
||||||
#else
|
#else
|
||||||
if (ptr[1] & 0x7F)
|
if (ptr[1] & 0x7F) {
|
||||||
#endif
|
#endif
|
||||||
{
|
|
||||||
dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n",
|
dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n",
|
||||||
ptr[1]);
|
ptr[1]);
|
||||||
rtsx_trace(chip);
|
rtsx_trace(chip);
|
||||||
|
@ -4148,11 +4147,10 @@ int ext_sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef SUPPORT_SD_LOCK
|
#ifdef SUPPORT_SD_LOCK
|
||||||
if (ptr[1] & 0x7D)
|
if (ptr[1] & 0x7D) {
|
||||||
#else
|
#else
|
||||||
if (ptr[1] & 0x7F)
|
if (ptr[1] & 0x7F) {
|
||||||
#endif
|
#endif
|
||||||
{
|
|
||||||
rtsx_trace(chip);
|
rtsx_trace(chip);
|
||||||
return STATUS_FAIL;
|
return STATUS_FAIL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue