lenovo/t400/dock.c: Fix issues found by checkpatch.pl
Change-Id: If7ebab8af1ae0c048cb89c2feb5f6a65848b6952 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/18767 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
9ab5adbde4
commit
4eb155cee4
@ -132,9 +132,8 @@ static int pc87382_connect(void)
|
||||
/* Deassert D_PLTRST# and D_LPCPD# */
|
||||
outb(reg, DLPC_GPDO0);
|
||||
|
||||
if (pc87382_init(l_dlpc, DLPC_CONTROL) != 0) {
|
||||
if (pc87382_init(l_dlpc, DLPC_CONTROL) != 0)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Assert D_PLTRST# */
|
||||
reg &= ~D_PLTRST;
|
||||
@ -144,7 +143,7 @@ static int pc87382_connect(void)
|
||||
/* Deassert D_PLTRST# */
|
||||
reg |= D_PLTRST;
|
||||
outb(reg, DLPC_GPDO0);
|
||||
udelay(10000);
|
||||
mdelay(10);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user