mirror of https://gitee.com/openkylin/linux.git
ACPI: SBS: remove typo from sbchc.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
bde4f8fa8d
commit
7642d21130
|
@ -130,7 +130,6 @@ static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol,
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
smb_hc_write(hc, ACPI_SMB_COMMAND, command);
|
smb_hc_write(hc, ACPI_SMB_COMMAND, command);
|
||||||
smb_hc_write(hc, ACPI_SMB_COMMAND, command);
|
|
||||||
if (!(protocol & 0x01)) {
|
if (!(protocol & 0x01)) {
|
||||||
smb_hc_write(hc, ACPI_SMB_BLOCK_COUNT, length);
|
smb_hc_write(hc, ACPI_SMB_BLOCK_COUNT, length);
|
||||||
for (i = 0; i < length; ++i)
|
for (i = 0; i < length; ++i)
|
||||||
|
|
Loading…
Reference in New Issue