Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: pmc_atom: Amend comment style and grammar

The style of the comments is not uniform, make it so and fix
a few grammar issues. While at it, update Copyright years.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220801113734.36131-4-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Andy Shevchenko and committed by
Hans de Goede
5a88ace4 27526525

+10 -13
+8 -11
drivers/platform/x86/pmc_atom.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * Intel Atom SOC Power Management Controller Driver 4 - * Copyright (c) 2014, Intel Corporation. 3 + * Intel Atom SoC Power Management Controller Driver 4 + * Copyright (c) 2014-2015,2017,2022 Intel Corporation. 5 5 */ 6 6 7 7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt ··· 489 489 return ret; 490 490 } 491 491 492 - /* 493 - * Data for PCI driver interface 494 - * 495 - * used by pci_match_id() call below. 496 - */ 492 + /* Data for PCI driver interface used by pci_match_id() call below */ 497 493 static const struct pci_device_id pmc_pci_ids[] = { 498 494 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_VLV_PMC), (kernel_ulong_t)&byt_data }, 499 495 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_CHT_PMC), (kernel_ulong_t)&cht_data }, ··· 501 505 struct pci_dev *pdev = NULL; 502 506 const struct pci_device_id *ent; 503 507 504 - /* We look for our device - PCU PMC 505 - * we assume that there is max. one device. 508 + /* 509 + * We look for our device - PCU PMC. 510 + * We assume that there is maximum one device. 506 511 * 507 512 * We can't use plain pci_driver mechanism, 508 513 * as the device is really a multiple function device, ··· 515 518 if (ent) 516 519 return pmc_setup_dev(pdev, ent); 517 520 } 518 - /* Device not found. */ 521 + /* Device not found */ 519 522 return -ENODEV; 520 523 } 521 524 ··· 523 526 524 527 /* 525 528 MODULE_AUTHOR("Aubrey Li <aubrey.li@linux.intel.com>"); 526 - MODULE_DESCRIPTION("Intel Atom SOC Power Management Controller Interface"); 529 + MODULE_DESCRIPTION("Intel Atom SoC Power Management Controller Interface"); 527 530 MODULE_LICENSE("GPL v2"); 528 531 */
+2 -2
include/linux/platform_data/x86/pmc_atom.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * Intel Atom SOC Power Management Controller Header File 4 - * Copyright (c) 2014, Intel Corporation. 3 + * Intel Atom SoC Power Management Controller Header File 4 + * Copyright (c) 2014-2015,2022 Intel Corporation. 5 5 */ 6 6 7 7 #ifndef PMC_ATOM_H