Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2642945pxb; Mon, 6 Sep 2021 01:52:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzioCncmZtaeXxz1NXtecccaZjhqEyrQlmCg2LcwswpQqX4ExctK3MBPuqxU7jqyWPXpHof X-Received: by 2002:a05:6638:2150:: with SMTP id z16mr9638696jaj.146.1630918357079; Mon, 06 Sep 2021 01:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630918357; cv=none; d=google.com; s=arc-20160816; b=C8s+ES5vjLiPAeOsAANMJ2VpmVrue0ajblnwJN8nH2v66TAlxp9HbbfOGuuvXqhtm7 Mwk5HXbEdUz5WMU/i7HaV+q1kBwBUsggZGQknYFxk2yKp8VxThSvJag/SjYLy845dmgx CxUqAxpKSHXWNuDp3xksvDIL6Ttu7K+PMFduHb33Vas8ni0TrXAf73tb28CRkpmW9UAa sEPRJX0xbHc+AAMkgYFO8GI26ehfC0sQST0pRZ+Y5kwHP0kP3MWvw1lwH3IgcXMaU3AB vu4jwz7at43JuK6ZQo3eFtxOI4uIks406e6A/5ZrgEuswja8WCsSXfM6q80DR4Bt9DJa G+eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=iLsdIdx/AnPLthhe0jMwMxFZfdx12UNBo4wQcyNLTto=; b=U9v7qyyGuHB7bXl25B2/mXAwLh6df6mL2q5v5Nkd5YPycwmDTvPgJzgrch0ZLXNxOY tjj63kJfDEVtslggAGHuTOvXGbvCuX23gA7qFSsPw40LLlQAVVKfOz2JmtMOfEsZxFMM XS37I/xC6l2BroJv0lFIgiyI/mjT0+2Z6jo+rzfH4Rgny42HrYgPHiuCWq4j4fLFSZg6 LdyvTi+FIIA+txtnjDv9kqWelwgGgt6r41WViqGsC8KXx54FtJ6h7i2c2HGr3pG6u92t d3L0zXExdHKgzlElMRBfAtBugAUoXL8yIfntrpFCqAiVsS1Utayyn5gTfr0nauqmPT5e B/gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si6418171jaf.0.2021.09.06.01.52.25; Mon, 06 Sep 2021 01:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240682AbhIFIqK (ORCPT + 99 others); Mon, 6 Sep 2021 04:46:10 -0400 Received: from foss.arm.com ([217.140.110.172]:53578 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbhIFIqK (ORCPT ); Mon, 6 Sep 2021 04:46:10 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C3B5D6E; Mon, 6 Sep 2021 01:45:05 -0700 (PDT) Received: from e123648.arm.com (unknown [10.57.18.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E50503F73D; Mon, 6 Sep 2021 01:45:03 -0700 (PDT) From: Lukasz Luba To: linux-kernel@vger.kernel.org Cc: lukasz.luba@arm.com, dietmar.eggemann@arm.com, qperret@google.com, rafael.j.wysocki@intel.com, linux-pm@vger.kernel.org, vincent.donnefort@arm.com Subject: [PATCH 1/2] PM: EM: fix kernel-doc comments Date: Mon, 6 Sep 2021 09:44:52 +0100 Message-Id: <20210906084453.3068-1-lukasz.luba@arm.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the kernel-doc comments for the improved Energy Model documentation. Signed-off-by: Lukasz Luba --- include/linux/energy_model.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/energy_model.h b/include/linux/energy_model.h index 1834752c5617..39dcadd492b5 100644 --- a/include/linux/energy_model.h +++ b/include/linux/energy_model.h @@ -11,7 +11,7 @@ #include /** - * em_perf_state - Performance state of a performance domain + * struct em_perf_state - Performance state of a performance domain * @frequency: The frequency in KHz, for consistency with CPUFreq * @power: The power consumed at this level (by 1 CPU or by a registered * device). It can be a total power: static and dynamic. @@ -25,7 +25,7 @@ struct em_perf_state { }; /** - * em_perf_domain - Performance domain + * struct em_perf_domain - Performance domain * @table: List of performance states, in ascending order * @nr_perf_states: Number of performance states * @milliwatts: Flag indicating the power values are in milli-Watts @@ -103,12 +103,12 @@ void em_dev_unregister_perf_domain(struct device *dev); /** * em_cpu_energy() - Estimates the energy consumed by the CPUs of a - performance domain + * performance domain * @pd : performance domain for which energy has to be estimated * @max_util : highest utilization among CPUs of the domain * @sum_util : sum of the utilization of all CPUs in the domain * @allowed_cpu_cap : maximum allowed CPU capacity for the @pd, which - might reflect reduced frequency (due to thermal) + * might reflect reduced frequency (due to thermal) * * This function must be used only for CPU devices. There is no validation, * i.e. if the EM is a CPU type and has cpumask allocated. It is called from -- 2.17.1