Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1935386imn; Mon, 1 Aug 2022 05:39:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6zD6i6fsIE4Gq25I2AdHV0oMsLqqd/7L3cjYpIy6ZY5QMXpMws3hIniTiSwkGOnGQnHexa X-Received: by 2002:a05:6a00:996:b0:52d:170f:c7ca with SMTP id u22-20020a056a00099600b0052d170fc7camr10384033pfg.86.1659357596006; Mon, 01 Aug 2022 05:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659357595; cv=none; d=google.com; s=arc-20160816; b=EE22TCpjg9uJQRMhPxVVKEN1K7tldh7pMhPX23R654swPLWbwd7d8K/3mwltlDhFFJ am0PIIhmpjcFhmGEtP8lbATpEHKc8HST8kfxs4eIXQiNIXNnDBIPvdoTF/wkad8R/xGH XGYUfkoUCwSDaLG+KGwfBKM34QxUs6siOKwkJ+c364kHZdV4DuaI0wx7HyoMX6jPmwSU CU7oUpZlOc+K7Odk4JwHtzmABFk+8vhKAVbEtTHjchJY5hT0X8BpX/h7tV1D818E25aR fnOnIP0075iLU/IGtZXP0YqXc5M2iwkZ5oaov1QNofKcBihwoz4kixHUQeBOc99Vs6zj kY3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iCi7sl7HLMlBkRBN3k2gWP2v0l+Rqo9OGNf8l1KXsQk=; b=QbF0qROYctqhhOtFIXniVrXwVLz39LgeAZbfw2l+dmyQugnwCyXmmgnJQ9egP+QqyX TszulO9CpwiLCb5b85dHVFcNPYX2jMEtzmXrDy6PKWwLZGWcYNK2Pj7FvwDz+0aGsZLH ffiA2q1PawYy2MpBx/W86E1UIsUxS3U9EnGWIRDFfUrM9EEFnyMKqARK3xbrc0CnMeMb 1glzHFNykhowBPVKre3VmltgX0jdey5gChhFTpt9I1AXhAQiysapkQDPGTJIf5ltySvY /XsRy8rUvihbONF8wR7ufZa8aZD5lRe6ZTuT6aDy5Vg+liSuKtMtQEIVSvjP2mwzZTWx 6nnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QsYUknFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 83-20020a630256000000b0041c506dde92si289023pgc.636.2022.08.01.05.39.41; Mon, 01 Aug 2022 05:39:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QsYUknFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbiHALhj (ORCPT + 99 others); Mon, 1 Aug 2022 07:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiHALh3 (ORCPT ); Mon, 1 Aug 2022 07:37:29 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03D7931DE0; Mon, 1 Aug 2022 04:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659353848; x=1690889848; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=azmVu0T8YocFW5dwTvOLApSkeJHj/Z3gH67lHkTjtE0=; b=QsYUknFX/mzEZ/H1FuKeZGf109X1jk/qb08WF47x1gqshMj4ed1910H+ T+E7KgaQaIKCPh4NY6nScpI/zO9CkD64opf21miya5ai88a5fJqPyUlnb PSCta2EIGSr2mjIuXiZgsx5gXlVdoz0H2WPdCGsyWmgP62Ep22ZgHhlCh as0Rqh84+T5xOyToRd0s3nf2ProAZmfI+SH1FN1iya5Mr6lKhXdr/CDsq jMkjk5f199FPAoAZ4egGB8jXFaGQd2YpHqq9IIDDxkxpuvto9awFgJTKk WPTLQroTUNnheqmBqYajnXZ5eeYgclWDlMNBtdPAO3vHZH0LyxiiAsG/5 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="290334125" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="290334125" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 04:37:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="929518841" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 01 Aug 2022 04:37:25 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id D3B9B1D0; Mon, 1 Aug 2022 14:37:35 +0300 (EEST) From: Andy Shevchenko To: Hans de Goede , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mark Gross Subject: [PATCH v2 4/4] platform/x86: pmc_atom: Amend comment style and grammar Date: Mon, 1 Aug 2022 14:37:34 +0300 Message-Id: <20220801113734.36131-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220801113734.36131-1-andriy.shevchenko@linux.intel.com> References: <20220801113734.36131-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- v2: no changes drivers/platform/x86/pmc_atom.c | 19 ++++++++----------- include/linux/platform_data/x86/pmc_atom.h | 4 ++-- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index 8d91999446f5..3271aec23abe 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Intel Atom SOC Power Management Controller Driver - * Copyright (c) 2014, Intel Corporation. + * Intel Atom SoC Power Management Controller Driver + * Copyright (c) 2014-2015,2017,2022 Intel Corporation. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt @@ -494,11 +494,7 @@ static int pmc_setup_dev(struct pci_dev *pdev, const struct pci_device_id *ent) return ret; } -/* - * Data for PCI driver interface - * - * used by pci_match_id() call below. - */ +/* Data for PCI driver interface used by pci_match_id() call below */ static const struct pci_device_id pmc_pci_ids[] = { { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_VLV_PMC), (kernel_ulong_t)&byt_data }, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_CHT_PMC), (kernel_ulong_t)&cht_data }, @@ -510,8 +506,9 @@ static int __init pmc_atom_init(void) struct pci_dev *pdev = NULL; const struct pci_device_id *ent; - /* We look for our device - PCU PMC - * we assume that there is max. one device. + /* + * We look for our device - PCU PMC. + * We assume that there is maximum one device. * * We can't use plain pci_driver mechanism, * as the device is really a multiple function device, @@ -523,7 +520,7 @@ static int __init pmc_atom_init(void) if (ent) return pmc_setup_dev(pdev, ent); } - /* Device not found. */ + /* Device not found */ return -ENODEV; } @@ -531,6 +528,6 @@ device_initcall(pmc_atom_init); /* MODULE_AUTHOR("Aubrey Li "); -MODULE_DESCRIPTION("Intel Atom SOC Power Management Controller Interface"); +MODULE_DESCRIPTION("Intel Atom SoC Power Management Controller Interface"); MODULE_LICENSE("GPL v2"); */ diff --git a/include/linux/platform_data/x86/pmc_atom.h b/include/linux/platform_data/x86/pmc_atom.h index ea01dd80153b..ae9b9f4a8697 100644 --- a/include/linux/platform_data/x86/pmc_atom.h +++ b/include/linux/platform_data/x86/pmc_atom.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Intel Atom SOC Power Management Controller Header File - * Copyright (c) 2014, Intel Corporation. + * Intel Atom SoC Power Management Controller Header File + * Copyright (c) 2014-2015,2022 Intel Corporation. */ #ifndef PMC_ATOM_H -- 2.35.1