From patchwork Wed Nov 6 13:28:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178696 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp607845ilf; Wed, 6 Nov 2019 05:28:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxE/iU/bD8F0gIcnnKB8K/5GKbmV9T9W5TbSVMyPkD08Zoeo15TbQ1HiZxsCkzXUmog51S2 X-Received: by 2002:a17:906:c314:: with SMTP id s20mr25772036ejz.118.1573046922360; Wed, 06 Nov 2019 05:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046922; cv=none; d=google.com; s=arc-20160816; b=LIIy/QIldu35Gf5yQ/tbNpYhjS9GAZkhW7dzT3VLjhEoWaHNGT90wctnhx9BMUyHZF MK5Kp0kZSkuSbkd4GF9vLJMR/wTLFlIfsGkh4D5noI6sLFq6emrgnYS+rQihRVPxfll3 RaND3Iyj6KtyaGq60QwtsjGBWBVHqRZYNEd/xnqLK6UJRHlN1/LyHJOD9BjOy15oiYp1 PWTdgiK+bAUQma2CKv4O7Jtq77rxqkB9O5mgG4LEv55o3srcZ5txjOz8yT1plu70ZJR7 pp5FfuMYIQ1wLSrOI4QygcImIQ1pw/d73CaUnVQBNr8OGu06vp4LwC4mwW5G56uBok1u EOWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=dBTjXXvoKMVg6TJv/+lsC8FjMXyU4jEJXQ4/NvF04y8=; b=OpBPjgmWONiP+H0MMStfmaL0MqZW9C6yHsxhVRtvTWakgGEn7sVi7Evdw0aGqmj49t pe4CXSFbaHBR5wYRD7LEy5iTbeYo3UoPETnoz3G7FdRZDQRhsMCUnDnOl/W51sFHwang uKUyREaM2R0NvUWIGWaJHx6e48T9GpAxrjKkS2ryv9ft+hZZYQJH2fjRepc6coPp9LNl dhyl6q+NoOhBWF6Il85zbsGcF3uH4D9ooZGCGXLEURFL4mMqb0EnJms4xUmsBbsztpeZ MU3Ly87Q04WA6Dh9EEHhNIEHu7hshlx+pGMEtAW7RUwS+jRr9V74jgNrfH4JyJIEtBDp LIyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoKFulYa; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g31si13318866edg.206.2019.11.06.05.28.42; Wed, 06 Nov 2019 05:28:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoKFulYa; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730913AbfKFN2k (ORCPT + 10 others); Wed, 6 Nov 2019 08:28:40 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46639 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730685AbfKFN2j (ORCPT ); Wed, 6 Nov 2019 08:28:39 -0500 Received: by mail-pg1-f193.google.com with SMTP id r18so1431451pgu.13 for ; Wed, 06 Nov 2019 05:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=dBTjXXvoKMVg6TJv/+lsC8FjMXyU4jEJXQ4/NvF04y8=; b=zoKFulYa2zGCTxLWB23LTz9Sh0jybKnXxRzHrtoT0ETVUyQNv1aDvV1eOG+6xh1TCm 0emi1CMyMkPjoOSRNqxkU+C0PIor1+s97Ii0awqpDY25otIHH0qdIoDq6YrEXIxL/lbc NFX+zA939PD+pq3LKyY4XLciG5oaaBVER0UpuvJbyuFNBH1RH2remgD5duRDzvuzM4tD h6iWHbw8/XHh621L02ECaKK0G7wLaV8JhI8rAK6VUkgEvzPqoZBA5WCzx+aLLw+s5gpZ N/mNYI+N0mRHOdDbwiIKubYvPWEP/y6oTiEANmlQ/Ao2B3Jjkk3PZPon0eVUpelGbUq0 RC6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=dBTjXXvoKMVg6TJv/+lsC8FjMXyU4jEJXQ4/NvF04y8=; b=oMeV6iJTCZJEV77vy0fBckCLTzKDcpUMYZfANwSrESQ8B6XaOr+OqlplQ/yFQ2uPkz jAJczeUd6SCUMo3DDmNFvIDtylRe9oKxu2ZOv5Q1NuzpKUzbbyHCGMdTP9fS7KATQIA2 cSECR/k1H+QYHmVRSUHUL2E79xYUdFYfA9t0oFKMuGkqnTzm1jv89tQjvqbu3NWE67CB ZE17lNLSATJNEbvKjLWd+vJKDlD1NuSNH+vvzksrVaFhvjuW9fHPUeiDw5w4JDRZz1qw DterQlSYdnLSiMIkLIIJ7sbmOk5ogzVJOF83aqgSfSySoQqhNvJtBNLpkHKlnbp45MsF G7MA== X-Gm-Message-State: APjAAAXf5tO/6ijXJYeAsxLHcAjGWoMMddW7CftB9Q4LFPcnhT1nBm+o +YuIbLupfnUDoC3lvQUkg/B/gQ== X-Received: by 2002:a63:925c:: with SMTP id s28mr2484003pgn.175.1573046919086; Wed, 06 Nov 2019 05:28:39 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id m15sm20764961pgv.58.2019.11.06.05.28.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:38 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 01/11] thermal: of-thermal: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:17 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Replace a comment starting with /** by simply /* to avoid having it interpreted as a kernel-doc comment. Fixes the following warning when compile with make W=1: linux.git/drivers/thermal/of-thermal.c:761: warning: cannot understand function prototype: 'const char *trip_types[] = ' Signed-off-by: Amit Kucheria --- drivers/thermal/of-thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Viresh Kumar diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index dc5093be553ec..5235aed2fadd5 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c @@ -754,7 +754,7 @@ static int thermal_of_populate_bind_params(struct device_node *np, return ret; } -/** +/* * It maps 'enum thermal_trip_type' found in include/linux/thermal.h * into the device tree binding of 'trip', property type. */ From patchwork Wed Nov 6 13:28:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178697 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp607900ilf; Wed, 6 Nov 2019 05:28:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzOKYzOIelbicQme6Op9bepuBTb8XyAujCZgbHcOzkXh1o/Vbhc11SdL5sT5DCyzwndPSWA X-Received: by 2002:a17:906:c801:: with SMTP id cx1mr35271040ejb.266.1573046924913; Wed, 06 Nov 2019 05:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046924; cv=none; d=google.com; s=arc-20160816; b=PSaBRumBjaZrWnYCf/FDypZM6bc6SmphQP4tzA+c5lCDoUQOntY+FxfMokXzdMKjeH h7bnP7ueLM/O22O4ElKm0JxgG76p79AcvT02xuiCGGxYixrYbLNJC/D2fFzAUUdIf4CP L38zycmQRWKvHdc4MhHszAs/+KJlM3ew7/UgHj180SOtyHonpJziq2n91Tg9nl4BbdQn yQ130BCbgFOrMm/qIldDzeM3JlfKr9JB45UVI5lyn0UJcl10eoZoH+8IDGbWOFsAjQ2R OdzE3QEk+zaleDxqJjicmtETDl9w7/6Hyx8WQtphKJtZVQtQO9Ndd+jAllBAFYi2Pkxb d+3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=xqikAYh44q1RvKaIP5+2hl6tWdBpJ22RdpOXljk6mKo=; b=yfzrJkaZMJ9HKryyvJLgrppfU8jHr45F9bSOPXCjwHVbxA1bS8gmLM6CBUuHRi+coV FkZ5mYF7ofFDAGRRc0NtdEu7vyPGvgNL5ZFUJwBOZEPRvbliw40MQcepYq6Go/L3i2Dt W4YIJezEtZS2CtFHCn5CAgiqwT8X8xJBS9oMT7fR7UCzC0sgIUQNFEJVj2DbbOEP5ykT QpjtemCmHA5sg6ii/Vgze62KenbuVg0JWpfWinguAGIEdG6hrvgWgCmztkwJWi9akwCI y6txbg4ena4rD4vLX3FhRutaObSiTAPX3Ii7f2oZNygLEONE2UCItST3DNQgMpL+JJsL 4CkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mn966vw3; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g31si13318866edg.206.2019.11.06.05.28.44; Wed, 06 Nov 2019 05:28:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mn966vw3; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731704AbfKFN2o (ORCPT + 10 others); Wed, 6 Nov 2019 08:28:44 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36737 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731633AbfKFN2n (ORCPT ); Wed, 6 Nov 2019 08:28:43 -0500 Received: by mail-pg1-f195.google.com with SMTP id k13so5828558pgh.3 for ; Wed, 06 Nov 2019 05:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=xqikAYh44q1RvKaIP5+2hl6tWdBpJ22RdpOXljk6mKo=; b=mn966vw3AW1uaRj57zIbm3u6xl/Aw9wAeNrB+fb2629K3AIHkxw/tKIq9xCOUIFzKL xBUHfSM7Mxeu1cLNyfYB/RNJyOPW/fmWeluDXCRYMs3oKvGBPgPTKrWuM6JXOXc7g8Ci JXFrBJbpapBuy/87Q4eLbgXshjS+lT2NS3BBEtvWvgdhq3k4QKsx1QTJ68ZpZ1E2SMQo ROock131JCmwxsgbRfOiYpvligGjk9P/uEAmQ1DTKuPyHw0upQrxDBfi6MvU1v5QCTBe G85aSo6ueIrQfuc8kNCfZ9H5Obe/YFdTJo04G1321jVx4dDxaeUY1oHPOlU1KCOPgykm p58w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=xqikAYh44q1RvKaIP5+2hl6tWdBpJ22RdpOXljk6mKo=; b=YfwEznCmCfJf1epqIX6+L91l0t2HLsS7p82X/lXjtT9GMHxkGa6aUlaDzJ8X8d38nV Sj0+Cm20aQ43XzTctH7WS8MGYc5EBqp1+rU0g7QAMkL84/Tib6d67umTMFRXJYf7G/4i JMhKmPyT7XRlbJ2CYx1i2D1P0mXTM84FULDxxn6EeRsykdIEfM9tJPa2RgFh3TS1oMvq Kogt/EZ/KiPi9wx5fnrA/y5n3cqJPpVxOc/748I4znQHbngxRiWuYFh6GkvEd98gRBlR EMu4eE0fbvLwtq6l85AwW4fyS3gjzrkIYlfCO52oQ3UGILTgCCg/McNnzpSEUnp1XQFn iIFA== X-Gm-Message-State: APjAAAUBuUKPBNczBk2U6KB/nMT7dVKTbsFnSm7OPY3c8GXL1mdVTNd8 qV9yHPkIA9tRyNab6m4gjFK+Nw== X-Received: by 2002:a63:6d5:: with SMTP id 204mr2876602pgg.359.1573046923030; Wed, 06 Nov 2019 05:28:43 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id 22sm20183943pfi.175.2019.11.06.05.28.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:42 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 02/11] thermal: cpu_cooling: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:18 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Describe the function parameter to fix the following warning with make W=1: linux.git/drivers/thermal/cpu_cooling.c:92: warning: Function parameter or member 'qos_req' not described in 'cpufreq_cooling_device' Signed-off-by: Amit Kucheria --- drivers/thermal/cpu_cooling.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 Acked-by: Viresh Kumar diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 6b9865c786ba3..c1523b9d06954 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -75,6 +75,7 @@ struct time_in_idle { * @policy: cpufreq policy. * @node: list_head to link all cpufreq_cooling_device together. * @idle_time: idle time stats + * @qos_req: PM QoS contraint to apply * * This structure is required for keeping information of each registered * cpufreq_cooling_device. From patchwork Wed Nov 6 13:28:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178698 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp607994ilf; Wed, 6 Nov 2019 05:28:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzNnQOINgPtXoQBMHkK2SzxXf/qiUP32vsmmKcEc/OlvzurPMdDUwYrRU+xA+W6Y6UD+PQi X-Received: by 2002:a17:906:e297:: with SMTP id gg23mr1260652ejb.41.1573046930144; Wed, 06 Nov 2019 05:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046930; cv=none; d=google.com; s=arc-20160816; b=J/iFJlMcwcR5sdm3dXQ0uYaCCkkQHPLxG+5WciYBmdgO3F5AKpTPPRqVV0Fxix3CKw QIWwvbcuST764L/9d0CL9+DZQZIGbMk6SYTAlJPhHynLKe7VxfHDcB6RvLOvpmzge9hn iB5Hpj6N90dzl1SkWpal7wJhhlDAASlU1kQ5nOSqDugvmtH22Iqe9eXmtlKMF8uMvars 2kAD9kTGV/wA7VZ2X+1YLudl+p3VJHdRot1EuhajeuPXbnE6274MUMtgUC+7U1tY25C2 cQh3mnwQV8rhMbBZBTXVFTkis13jpoURPFq6b+aItdf0sj8qDhEahmAjTzwg2FsOn4JP qj7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=M2QJIZx29Gwekb8NQRHw9lqWCpHwrUdysxQR0ZEdvxo=; b=FZptR+Q/veAPgGgJ7k0uXUGC++rwM+JtEpCz/rt4hCaSSgVUlJUEjP9C+bN1KJVQJm bjUlYEOAOByQR1cqtjCS9ZscwxE6z79n3y9WrKqwFfHTCHi+l/aoiFD7AM/LLpScOkcA GZNKjPCZkvlmGwi2t3jK4lramC2u/oEHNMcMbIydvNnIDpin7Ms3NcIxnxCv5JkxGpnL 3kKwMkG0U3Dbdi2+7BX0jrsDGYQPMDd9QRzTCd0zrLgGi4j5vyJt2rJoZ3pMIvSedhz7 C5GSOlRt+tRTdUxMi8HM/kMwZD7EbmhWpYXBgDdk5uJ6B8FljP12krS7g8qE6fOzyXVa je3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YXE20HvW; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7si12867072ede.12.2019.11.06.05.28.49; Wed, 06 Nov 2019 05:28:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YXE20HvW; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731744AbfKFN2t (ORCPT + 10 others); Wed, 6 Nov 2019 08:28:49 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39789 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731453AbfKFN2s (ORCPT ); Wed, 6 Nov 2019 08:28:48 -0500 Received: by mail-pf1-f193.google.com with SMTP id x28so15670225pfo.6 for ; Wed, 06 Nov 2019 05:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=M2QJIZx29Gwekb8NQRHw9lqWCpHwrUdysxQR0ZEdvxo=; b=YXE20HvW35Fp8pQXuwFOC39tRqHrhYYIB0Kk79+k+E6QK0j4qvWRYMcwIXgdk74Xj0 vxAiAxqDLOc4idYj7jalm+2xF8RpeJzQflNYXKNeN0RZodAmcSkx4m9CXVQkc5dpCTqK y64ygp67E832PmLIBKmgWF61yy1LjpbasXdLfG0bj+Ac+C2SdTk1Qa/fMBaRsHUg9Rzd LVQE38dNolQKbYx+rZaEhWhyxvYSgrFiyS2KfZUu1U18mswP1e5iO8Yoh04EiDtESruo ZfgRnm2ij4RJNsK5kD1oftJDX76h502Lj8g9BGAVW05qiZSts4YKVDcUt4BYNRDM3bm+ 1siQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=M2QJIZx29Gwekb8NQRHw9lqWCpHwrUdysxQR0ZEdvxo=; b=bimvB2AsKzxKM1MA1nVinWHzESOwxVH6qo6rs2k1kqAEU0eQSuic53N5qJyz1t7l7M T8i9K0ptmZIFj6RqSoIntr+RN1WzmVxYKvZ22GEv3EK5qIh9u+i/GOPEcyz3iig2J6aX EDwv893qg8L3lWmKLqaZuePc4o+2uOmthAw9srLClv1LPx8qLMK6GDa3Ov4mn+rHYXTu InG7Qy1KgvCXRpg9eJI26ur/usco5KpWT3TTT6c82VaGrvcNf7qxymI8hDQOpmVLjoNz wStaNsgD9MjVwM7VsMZeWMn86x7j6kfvtBlHToEbL0Fp8G1T2Tl6qFJFGP+c6rXtty5N 2wJw== X-Gm-Message-State: APjAAAVZhHSQ11Sfepia5RMW0X8mr82946M0kTYFrLTsC/bDxnJ4jjy3 74qLc8SsCbQ0Q0uBpUwea+CjZyC/OVtGUA== X-Received: by 2002:aa7:9aea:: with SMTP id y10mr3292063pfp.16.1573046927655; Wed, 06 Nov 2019 05:28:47 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id w11sm18236846pgp.28.2019.11.06.05.28.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:47 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 03/11] thermal: step_wise: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:19 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Replace - with : to appease the kernel-doc gods and fix warnings such as the following when compiled with make W=1: linux-amit.git/drivers/thermal/step_wise.c:187: warning: Function parameter or member 'tz' not described in 'step_wise_throttle' linux-amit.git/drivers/thermal/step_wise.c:187: warning: Function parameter or member 'trip' not described in 'step_wise_throttle' linux.git/drivers/thermal/fair_share.c:79: warning: Function parameter or member 'tz' not described in 'fair_share_throttle' linux.git/drivers/thermal/fair_share.c:79: warning: Function parameter or member 'trip' not described in 'fair_share_throttle' Signed-off-by: Amit Kucheria --- drivers/thermal/fair_share.c | 4 ++-- drivers/thermal/gov_bang_bang.c | 4 ++-- drivers/thermal/step_wise.c | 4 ++-- drivers/thermal/user_space.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) -- 2.17.1 Reviewed-by: Viresh Kumar diff --git a/drivers/thermal/fair_share.c b/drivers/thermal/fair_share.c index afd99f668c65d..aaa07180ab482 100644 --- a/drivers/thermal/fair_share.c +++ b/drivers/thermal/fair_share.c @@ -58,8 +58,8 @@ static long get_target_state(struct thermal_zone_device *tz, /** * fair_share_throttle - throttles devices associated with the given zone - * @tz - thermal_zone_device - * @trip - trip point index + * @tz: thermal_zone_device + * @trip: trip point index * * Throttling Logic: This uses three parameters to calculate the new * throttle state of the cooling devices associated with the given zone. diff --git a/drivers/thermal/gov_bang_bang.c b/drivers/thermal/gov_bang_bang.c index b831fc77cf64a..991a1c54296de 100644 --- a/drivers/thermal/gov_bang_bang.c +++ b/drivers/thermal/gov_bang_bang.c @@ -71,8 +71,8 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) /** * bang_bang_control - controls devices associated with the given zone - * @tz - thermal_zone_device - * @trip - the trip point + * @tz: thermal_zone_device + * @trip: the trip point * * Regulation Logic: a two point regulation, deliver cooling state depending * on the previous state shown in this diagram: diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c index 6e051cbd824ff..2ae7198d3067c 100644 --- a/drivers/thermal/step_wise.c +++ b/drivers/thermal/step_wise.c @@ -174,8 +174,8 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) /** * step_wise_throttle - throttles devices associated with the given zone - * @tz - thermal_zone_device - * @trip - trip point index + * @tz: thermal_zone_device + * @trip: trip point index * * Throttling Logic: This uses the trend of the thermal zone to throttle. * If the thermal zone is 'heating up' this throttles all the cooling diff --git a/drivers/thermal/user_space.c b/drivers/thermal/user_space.c index 962873fd92425..293cffd9c8adb 100644 --- a/drivers/thermal/user_space.c +++ b/drivers/thermal/user_space.c @@ -17,8 +17,8 @@ /** * notify_user_space - Notifies user space about thermal events - * @tz - thermal_zone_device - * @trip - trip point index + * @tz: thermal_zone_device + * @trip: trip point index * * This function notifies the user space through UEvents. */ From patchwork Wed Nov 6 13:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178699 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp608079ilf; Wed, 6 Nov 2019 05:28:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyQgnFFV75J02sZmtPWYa3ZShIvhiZKpAEwyJhHDxubUO1IgIIW/Ir2QKSzqcelQcza3hzX X-Received: by 2002:aa7:d0d4:: with SMTP id u20mr2678668edo.112.1573046933976; Wed, 06 Nov 2019 05:28:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046933; cv=none; d=google.com; s=arc-20160816; b=N6qTmsgLQ41l0KwlJ2YDH5xvdLkKVD6Jl2zh5/BTLQ8vmnZei1JRtG7yLsbIWR+YRq UUdaafjeeipe2yChbf/09Rg6IPMFNEzxG1Bh8ZUeuwOO2PyzyHGEY9qXVXedoqKbgijx YZf/RMVran8dO7hgeqOI6c6mEp8yKzGC+SIhCHK7CbT0nQJCexfERxyMEnKB4+VtuvHx E0UEwJnB5i4BgNVwKoduawpXucuJN8wz5ZrZvz/ZKp//W+zQL/3A4rIlpR7oy7UiE2UZ mWrP1X7wVXuLNJa2K7Fmg4f/wlE/3FOV0fyoponwwx8WmQ2b22xouZSwf7ZLjh1tsiWU Yxvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=b9e/X36YFo7XevZyMu+j2ykAnUGrYPaHTYlBPcDky98tEMOOWbpoMUEajrXNok4RnT lniHocSVgaqopFtaDIyeTTha2neHf1oPZvNrpF05Rc3CPhC2uFxTqdhg+WsuJyDgjxAb b0bripyRHaDPdhCtS9tr4IuBty96OYNmF3s1tDGAqUqlIV9NhwN6nIYrZyV4gHVz0dTj +bQCuniPOqOGvptpzG/06gVXd8BYnXM2Zf/fvoIr1DkthPhEE4+5fUlG8iq1PfI0Kjsh VA0qShCIaaSsVjgepuMn3s34b5HOs8sQQ+DjxeJDXVEQMsA/I5ec3ct7BJcrADyFJ9O7 i7PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y54iMZhF; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si13795701edp.302.2019.11.06.05.28.53; Wed, 06 Nov 2019 05:28:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y54iMZhF; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731777AbfKFN2w (ORCPT + 10 others); Wed, 6 Nov 2019 08:28:52 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45960 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731635AbfKFN2w (ORCPT ); Wed, 6 Nov 2019 08:28:52 -0500 Received: by mail-pf1-f193.google.com with SMTP id z4so12849824pfn.12 for ; Wed, 06 Nov 2019 05:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=y54iMZhFsDkhFVspBHefTVsS0hpSeUoA3E6jZcdSI24ker0Pp8pVSHUKkHOnchnU2y bE3qmBDWjNZbAq+4XwhySlaLmsMnZ/V7IEwhs6HajcnVKTeVTuPwQcmh/HedpQx8YUgE 4lZJmGpSURzeSqWHx3Cehn2x+RmRN8m0U3erKhQB2CDj4ScykGxNU4DmYjCNKxd5DbqR eOGiSGBesA+CLOh+by1tGNqI0KkNtofAJ6xCaueiAzznemhYiWztpVfVj7tH5tNqc4g8 sTH+D/ReKhn2R0pteTZ0fOsKb8oNIbyMSIRcwCdwe7hceH3Be8Z4ysxaWGgd3bAvXFRt CGbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=ZzrXwnWdWsQoP/NiicQxery7UOBJK0bq8n5AbkFlklNMts1TiMtCppcg4AC676xqYf oZw7+Y7DMBmMhVS+2dw6DG+Upo+ch1sd3r8qGfGVDteGfoXVI0Ch6bDP3y0/oQqIWJxn GuHzcytkLsUgc6DbPpuFKLHdoR3LA0owMl32TLuaulSnuYBtaJv6ooqR888Kl4U4xuXF YZjnpMHa61TkH5MeHKNwtNmY6nu4Vi0SgmMkOlSSCxK2XhMFYpX8m4MYXwrMxfLOQm5U C+tNZhvXbr+/tS6sIB51x+QbLmHRd4as/6gtyVu9vs90Xhom/fTZKHzzjthJretTOitX 59tg== X-Gm-Message-State: APjAAAWGlB9knG7NcihILeAc0yNhtyGb7NyzEtAAddlCPpSjd/4wzJnl iJxhqVx9+1Fq6NIVQ1VvuTztOA== X-Received: by 2002:a17:90a:c306:: with SMTP id g6mr3803290pjt.38.1573046931527; Wed, 06 Nov 2019 05:28:51 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id u20sm6015923pgo.50.2019.11.06.05.28.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:51 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 04/11] thermal: devfreq_cooling: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:20 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Fix up the following warnings with make W=1: linux.git/drivers/thermal/devfreq_cooling.c:593: warning: Function parameter or member 'cdev' not described in 'devfreq_cooling_unregister' linux.git/drivers/thermal/devfreq_cooling.c:593: warning: Excess function parameter 'dfc' description in 'devfreq_cooling_unregister' Signed-off-by: Amit Kucheria --- drivers/thermal/devfreq_cooling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c index ef59256887ff6..a87d4fa031c87 100644 --- a/drivers/thermal/devfreq_cooling.c +++ b/drivers/thermal/devfreq_cooling.c @@ -53,6 +53,7 @@ static DEFINE_IDA(devfreq_ida); * 'utilization' (which is 'busy_time / 'total_time'). * The 'res_util' range is from 100 to (power_table[state] * 100) * for the corresponding 'state'. + * @capped_state: index to cooling state with in dynamic power budget */ struct devfreq_cooling_device { int id; @@ -587,7 +588,7 @@ EXPORT_SYMBOL_GPL(devfreq_cooling_register); /** * devfreq_cooling_unregister() - Unregister devfreq cooling device. - * @dfc: Pointer to devfreq cooling device to unregister. + * @cdev: Pointer to devfreq cooling device to unregister. */ void devfreq_cooling_unregister(struct thermal_cooling_device *cdev) { From patchwork Wed Nov 6 13:28:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178701 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp608251ilf; Wed, 6 Nov 2019 05:29:02 -0800 (PST) X-Google-Smtp-Source: APXvYqzGVUDloKuUkLaspLHEeyr/B7700lHPZgtpd5IelOncnBRjCd8ghTE9vFNJZD7Y8ltZQY6J X-Received: by 2002:a17:906:b74c:: with SMTP id fx12mr26122131ejb.324.1573046942457; Wed, 06 Nov 2019 05:29:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046942; cv=none; d=google.com; s=arc-20160816; b=YxctgA4CYHhI3Qi6JFo9yY4WVz/nvJ4cy3e1GZVW/GE8VxZ3NUPoJlOHphmRwiIxv6 n1gQLvOLdt+JDBns3lMbYJ6AQhq8m1bI4QrlDPlc9qVDj3gug/+47G4Y2e0PR9PsFv5g cSaZN0BhreK9pa9brh8JC7XXlMexvCSU8/wohtzk5omj4FnV6YebP7zRtC6IrosoLf/o IJd+rqCXdYF5NMhIvceTQOlcFGJUPEw7i24f9VTSi4pTdlvUi01jOI8s839YrdQGHxLd VKblOFP5pXdw0nnKKdkCuso5DbfVdaqqoKILYwW7eYEIjBkbo9e7EHMWFJ/UMA5qme6D wbkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=2JC2BSAON2aTYfWnY286zBqdcBgF1dUkhFpgqH52P8A=; b=y/usahUjyPNom6HLlN5Bgb1fJaVJ3eEOtC4o5HlXRI8CnYYcvKgFi4TaZ3VHAPFrfr rv32oGeUlFi7ztU3uauhrqdOnluz2sZ8lkELM+CDbLRUYm9rZkMgOz40qPhsAfleWNtK atac/HPPG+LK4Epro1Vw/I6X8ISdtV65Lx3oqVgYHTqgbyVkQ2gAFpxdC5wWUq+mWvNR d7fuc7K0pQ9ntqNx+LRhQ4jb9xmmuRs3S81nbj7+/w9cTYfnmT9pfpxi1T/wNEVRkO8P 8PZVLK92UAda1hlVprylZLKbP4RbHUX1IeN0/DDWonABiZfr9C4X4Q8nDraJB8K06FDT gyMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GmREb2gA; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si3394467ejq.374.2019.11.06.05.29.02; Wed, 06 Nov 2019 05:29:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GmREb2gA; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731827AbfKFN3B (ORCPT + 10 others); Wed, 6 Nov 2019 08:29:01 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41999 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731803AbfKFN3A (ORCPT ); Wed, 6 Nov 2019 08:29:00 -0500 Received: by mail-pg1-f195.google.com with SMTP id q17so1694581pgt.9 for ; Wed, 06 Nov 2019 05:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=2JC2BSAON2aTYfWnY286zBqdcBgF1dUkhFpgqH52P8A=; b=GmREb2gAFzVBw1JzE2epBfRKDBD9/8BHb4WsdWVr5lOtzpidmIw5GF3ZoJMBmiR2Lc hkiJAEHW0blLAPRX292U+12+AsV/FjNwUbuecXH9XavsxZR5ZGdmfy8qUOiga8JBaCHQ rCdQcLyLGFupMzXBlQpqtMxOpCb8qylIQELk0s8wrkVmGkfF79umn2K6WDk4xLVOpiLI 5RJyH9RUJzoadMkubpIwpy0T4PfwtaRawxNZF/W2TAMXRAOFzifYXQJu6tRRIoAW2IM2 ZhYtAHd6FSX09lWSsG6PADFFgZ4VKpmYAIPfmwW7hzVEJ1wgNQYi8uk7j2YsIzi3VNI/ dNYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=2JC2BSAON2aTYfWnY286zBqdcBgF1dUkhFpgqH52P8A=; b=FT7xos9IiPMT+I9FmVZxJlYldtUqrDWsZgU0sBcjsxvsDyYbLdFnPM78a23+foScE8 CaRxNsgf9fAFDkDOkhzUHU249p/seDpahpCXabVy0d1HKCAbhkUk2OurmUvh81yRxkMp 1RbLWAQ0iISlB1SH2Lq8mlWuUm3V9uLOHIpYqUAvNDJtWBPROBU/yVrCBxC52OmmrQgx Krczv55beyEuwOQxgno3+p0y2eQI+WN05ko3hwuZagyX4/0EY4rQHjIWXCUkaXdB0VJm iI/oq7oaa16Z23hXMF0Cc46t+YjwK79R5GMQnA05DkhgOv6GcmtgSlUTmNSQnVHPQuhc MY6A== X-Gm-Message-State: APjAAAVjqQIUaPkJqRK4QGqb5k+z1wwJILjyHRGP3ahtm4yQjDuVoSlc 30tIUMUWHyuLLL1pJC7KUsDpQw== X-Received: by 2002:aa7:9192:: with SMTP id x18mr3340660pfa.229.1573046939554; Wed, 06 Nov 2019 05:28:59 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id q8sm20785909pgg.15.2019.11.06.05.28.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:59 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 06/11] thermal: mediatek: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:22 +0530 Message-Id: <2961e4ac4b32ea7db8b5f6916751a5c02ee85960.1573046440.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Replace a comment starting with /** by simply /* to avoid having it interpreted as a kernel-doc comment. Describe missing function parameters where needed. Fixes up the following warnings when compiled with make W=1: linux.git/drivers/thermal/mtk_thermal.c:374: warning: cannot understand function prototype: 'const struct mtk_thermal_data mt8173_thermal_data = ' linux.git/drivers/thermal/mtk_thermal.c:413: warning: cannot understand function prototype: 'const struct mtk_thermal_data mt2701_thermal_data = ' linux.git/drivers/thermal/mtk_thermal.c:443: warning: cannot understand function prototype: 'const struct mtk_thermal_data mt2712_thermal_data = ' linux.git/drivers/thermal/mtk_thermal.c:499: warning: cannot understand function prototype: 'const struct mtk_thermal_data mt8183_thermal_data = ' linux.git/drivers/thermal/mtk_thermal.c:529: warning: Function parameter or member 'sensno' not described in 'raw_to_mcelsius' Signed-off-by: Amit Kucheria --- drivers/thermal/mtk_thermal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.17.1 Reviewed-by: Viresh Kumar diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c index acf4854cbb8b8..76e30603d4d58 100644 --- a/drivers/thermal/mtk_thermal.c +++ b/drivers/thermal/mtk_thermal.c @@ -358,7 +358,7 @@ static const int mt7622_mux_values[MT7622_NUM_SENSORS] = { 0, }; static const int mt7622_vts_index[MT7622_NUM_SENSORS] = { VTS1 }; static const int mt7622_tc_offset[MT7622_NUM_CONTROLLER] = { 0x0, }; -/** +/* * The MT8173 thermal controller has four banks. Each bank can read up to * four temperature sensors simultaneously. The MT8173 has a total of 5 * temperature sensors. We use each bank to measure a certain area of the @@ -400,7 +400,7 @@ static const struct mtk_thermal_data mt8173_thermal_data = { .sensor_mux_values = mt8173_mux_values, }; -/** +/* * The MT2701 thermal controller has one bank, which can read up to * three temperature sensors simultaneously. The MT2701 has a total of 3 * temperature sensors. @@ -430,7 +430,7 @@ static const struct mtk_thermal_data mt2701_thermal_data = { .sensor_mux_values = mt2701_mux_values, }; -/** +/* * The MT2712 thermal controller has one bank, which can read up to * four temperature sensors simultaneously. The MT2712 has a total of 4 * temperature sensors. @@ -484,7 +484,7 @@ static const struct mtk_thermal_data mt7622_thermal_data = { .sensor_mux_values = mt7622_mux_values, }; -/** +/* * The MT8183 thermal controller has one bank for the current SW framework. * The MT8183 has a total of 6 temperature sensors. * There are two thermal controller to control the six sensor. @@ -495,7 +495,6 @@ static const struct mtk_thermal_data mt7622_thermal_data = { * data, and this indeed needs the temperatures of the individual banks * for making better decisions. */ - static const struct mtk_thermal_data mt8183_thermal_data = { .auxadc_channel = MT8183_TEMP_AUXADC_CHANNEL, .num_banks = MT8183_NUM_SENSORS_PER_ZONE, @@ -519,7 +518,8 @@ static const struct mtk_thermal_data mt8183_thermal_data = { /** * raw_to_mcelsius - convert a raw ADC value to mcelsius - * @mt: The thermal controller + * @mt: The thermal controller + * @sensno: sensor number * @raw: raw ADC value * * This converts the raw ADC value to mcelsius using the SoC specific From patchwork Wed Nov 6 13:28:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178705 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp608613ilf; Wed, 6 Nov 2019 05:29:19 -0800 (PST) X-Google-Smtp-Source: APXvYqw0QReKc4fR9oQHFha3GR9P3P6cKg9PMXr1AhZPC0OWD9Qu3smIyg7uyGNyU+EG4tZyfkEd X-Received: by 2002:a17:907:426e:: with SMTP id nx22mr26489401ejb.139.1573046959086; Wed, 06 Nov 2019 05:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046959; cv=none; d=google.com; s=arc-20160816; b=Xckc5LUtKpokZF05tscteghP+BvAXj7ZQx6MnvAsWjOpJOrAwz/tBLoimlG+j6sO+Y jAE3O/zz5dq/9yU1wBlCmKkr7J0W5bVproH/M40++qXuShy5nXoDs/vXzfqyCkMqyaoO xptsvABoJr4gISmhvd88ZINR1Q78IE+VWMuFjVHDTq7fUgvugwbK3Y0QwMDZWx/VAX9a gch4/3dnr0nIUdv0or+EfpLGn377Xc4INyjo5Y5+DezHAI34w+0tzY+8p9T/Zctcx8KO E7m9nbK1pVZAHL6Jf/KsqQD06+bwikSBzaMFCmKd9fr+FIe7KtQlUPkM82eB0XCApCY0 zulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=0/+bQx5JHQOuiZKynMK7gLFGYPX738NgMSopvzkwjoc=; b=aXL26r81+k/IYyb3vqEju4Xo6tRXmbvLr8zXHfRpOVm/ZzlxrhPrWdiM+0l4Pq5t6m FUTvY786bgTlbEkXuSGAD5TSEuGemjnxOLJpJ3WXFdEjJLsMYYkQRK3QRSfoaIywjhPS EOXGj/16xVKy5LcMwMDaz38/ADRpdD+SP/tzKvOvpH7Cnr+b8we4R6UGYDewPWRBL6io x/FT9jy5V0mK4gRT3idi11klcE0H32m7j3SRv1fzmyX5BuTeusqPZiluqihJ24Th1oO5 3eTLmMyKRy5TvqxWRGbXPk7DUJ9NMPJC4viyXAZTnnrPGJZ9AKBVuyS7DVdDIxwY77n1 Svvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vKaw0thV; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z15si11498280edd.8.2019.11.06.05.29.18; Wed, 06 Nov 2019 05:29:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vKaw0thV; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731906AbfKFN3Q (ORCPT + 10 others); Wed, 6 Nov 2019 08:29:16 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:35484 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731886AbfKFN3Q (ORCPT ); Wed, 6 Nov 2019 08:29:16 -0500 Received: by mail-pf1-f194.google.com with SMTP id d13so18893016pfq.2 for ; Wed, 06 Nov 2019 05:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=0/+bQx5JHQOuiZKynMK7gLFGYPX738NgMSopvzkwjoc=; b=vKaw0thV8SCCNxndmd8ReWx7owdb6CYDzHnrVasmMSUyjnLsYByCBUxwC6BIPwswFD 9XVykLdF9C+khBoYg22d3yidwUdQjnFxZI1QZo+hN7LVFNoE+RquwAdieDc1JEsP/D8c lOVq3XwJmwgUTrDceyVfL+6lsrxT/7PhwOF3c5Shy0hIa/qI7y+OB1POpA13KVF+E5XO /KJ56h9Q26ntU1d4iQslEZ7bH/Tcbuv+SyBCGQnXnJO+6hbo9v8BeSKHUcbHhsMKVqfa VVul77IsGuDvX43/uBx8RamZRPHu/y0+k9/5G9FwIURfnsznL4L2F0uV5LNT3BT6aaCb 13mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=0/+bQx5JHQOuiZKynMK7gLFGYPX738NgMSopvzkwjoc=; b=cndok3R4tT4VEn3wVG8u3AgG2T3zK8yvgEprbYu13WInL3mLHVvVjVdgs1Th/aNJBH fgznfbOIRLeGKqh8WswLlQzu5sOOwQ7Z6GMumofTOYaYKgTJX67VG55bQa7X3M/TlGuq 8HR79TAYveg3tXYKycACpZMiNmLKoPxa6emzVcgsv3r7wtiUM4OMQAssgad0AvlfyJD/ i1AtlzoCHhtMPutc/4A1FOmDLvtd5gm+O9mwNZXYs2G31gRe5Yprj0Z6evAOZRUhBOIi e1hzQBZwcwIrok5YWuWVSinTRYdysSdNLIOEj5Bt8MfAIbEj4LerTSso2vmzX1D7uiVP eYPg== X-Gm-Message-State: APjAAAW74U+V/VGbErZrbBVqVZuXZAP5Q0kLOW/mj6hkOEBw8ZJHw+eo DpLOONmvW++0VAFsD3fSrq0g4w== X-Received: by 2002:a63:1065:: with SMTP id 37mr2843407pgq.31.1573046955366; Wed, 06 Nov 2019 05:29:15 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id c9sm34805754pfb.114.2019.11.06.05.29.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:29:14 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH 10/11] thermal: amlogic: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:26 +0530 Message-Id: <2fbace543c7a45799f29f87d9aee82f2ed1a7dbe.1573046440.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Fix up the following warning when compiled with make W=1: linux.git/drivers/thermal/amlogic_thermal.c:78: warning: Function parameter or member 'A' not described in 'amlogic_thermal_soc_calib_data' linux.git/drivers/thermal/amlogic_thermal.c:78: warning: Function parameter or member 'B' not described in 'amlogic_thermal_soc_calib_data' linux.git/drivers/thermal/amlogic_thermal.c:78: warning: Function parameter or member 'm' not described in 'amlogic_thermal_soc_calib_data' linux.git/drivers/thermal/amlogic_thermal.c:78: warning: Function parameter or member 'n' not described in 'amlogic_thermal_soc_calib_data' Signed-off-by: Amit Kucheria --- drivers/thermal/amlogic_thermal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/thermal/amlogic_thermal.c b/drivers/thermal/amlogic_thermal.c index 8a9e9bc421c68..ccb1fe18e9931 100644 --- a/drivers/thermal/amlogic_thermal.c +++ b/drivers/thermal/amlogic_thermal.c @@ -67,7 +67,11 @@ /** * struct amlogic_thermal_soc_calib_data - * @A, B, m, n: calibration parameters + * @A: calibration parameters + * @B: calibration parameters + * @m: calibration parameters + * @n: calibration parameters + * * This structure is required for configuration of amlogic thermal driver. */ struct amlogic_thermal_soc_calib_data {