diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-06-22 18:11:31 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-02 19:29:10 +0000 |
commit | 43bcc7b6ed1502de80a857f94443f7c83269ad36 (patch) | |
tree | 90339cc8e0aa32d51be79af708c626552bd8ec07 /src/northbridge/intel/ironlake/gma.c | |
parent | aee3b148ba8263e983de12cfb873ee5ec6d0569f (diff) |
nb/intel/ironlake: Clean up code style (except raminit)
Reflow lines, correct coding style and align struct members, among
other things. As raminit is very large, handle it on a follow-up.
Tested with BUILD_TIMELESS=1, packardbell/ms2290 does not change.
Change-Id: I343edf1bc2a5ac20ff0aa6de4486e685ce430737
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42701
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/ironlake/gma.c')
-rw-r--r-- | src/northbridge/intel/ironlake/gma.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/northbridge/intel/ironlake/gma.c b/src/northbridge/intel/ironlake/gma.c index 8baccb2831..7d08f3130d 100644 --- a/src/northbridge/intel/ironlake/gma.c +++ b/src/northbridge/intel/ironlake/gma.c @@ -152,8 +152,7 @@ static void gma_func0_init(struct device *dev) gma_gfxinit(&lightup_ok); /* Linux relies on VBT for panel info. */ - generate_fake_intel_oprom(&conf->gfx, dev, - "$VBT IRONLAKE-MOBILE"); + generate_fake_intel_oprom(&conf->gfx, dev, "$VBT IRONLAKE-MOBILE"); } else { /* PCI Init, will run VBIOS */ pci_dev_init(dev); @@ -208,7 +207,7 @@ static const unsigned short pci_device_ids[] = { }; static const struct pci_driver gma __pci_driver = { - .ops = &gma_func0_ops, - .vendor = PCI_VENDOR_ID_INTEL, + .ops = &gma_func0_ops, + .vendor = PCI_VENDOR_ID_INTEL, .devices = pci_device_ids, }; |