From 8b35851e4c994943fab1d0f0c484e5f38cd0729c Mon Sep 17 00:00:00 2001 From: Maxim Polyakov Date: Wed, 30 Jun 2021 16:14:53 +0300 Subject: util/intelp2m: use import once for all included modules There is no need to repeat "import" for each module in GoLang. Use this keyword only once in each file for code cleanliness. Change-Id: Ibb24fafd409b31b174946a39ca1f810d59b87e76 Signed-off-by: Maxim Polyakov Reviewed-on: https://review.coreboot.org/c/coreboot/+/55985 Reviewed-by: Angel Pons Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- util/intelp2m/platforms/snr/macro.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'util/intelp2m/platforms/snr/macro.go') diff --git a/util/intelp2m/platforms/snr/macro.go b/util/intelp2m/platforms/snr/macro.go index fb530c54c1..cebb0cd890 100644 --- a/util/intelp2m/platforms/snr/macro.go +++ b/util/intelp2m/platforms/snr/macro.go @@ -1,12 +1,12 @@ package snr -import "strings" -import "fmt" - -// Local packages -import "../common" -import "../../config" -import "../../fields" +import ( + "strings" + "fmt" + "../common" + "../../config" + "../../fields" +) const ( PAD_CFG_DW0_RO_FIELDS = (0x1 << 27) | (0x1 << 24) | (0x3 << 21) | (0xf << 16) | 0xfc -- cgit v1.2.3