util/intelp2m: Remove unnecessary tabs
Change-Id: I5aa4b9ac4fa1ceb6f3c2ade214d47b29246ece55 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44474 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
parent
5f43369bec
commit
fd76c5e540
|
@ -123,10 +123,10 @@ func registerInfoTemplate(line string, name *string, offset *uint32, value *uint
|
|||
// 0x0088: 0x00ffffff (HOSTSW_OWN_GPP_F)
|
||||
// 0x0100: 0x00000000 (GPI_IS_GPP_A)
|
||||
if fields := strings.FieldsFunc(line, tokenCheck); len(fields) == 3 {
|
||||
*name = fields[2]
|
||||
fmt.Sscanf(fields[1], "0x%x", value)
|
||||
fmt.Sscanf(fields[0], "0x%x", offset)
|
||||
return 0
|
||||
*name = fields[2]
|
||||
fmt.Sscanf(fields[1], "0x%x", value)
|
||||
fmt.Sscanf(fields[0], "0x%x", offset)
|
||||
return 0
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue