From patchwork Thu Jul 20 08:48:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 13320146 X-Patchwork-Delegate: cw00.choi@samsung.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3E4CEB64DA for ; Thu, 20 Jul 2023 08:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjGTI5o (ORCPT ); Thu, 20 Jul 2023 04:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjGTItK (ORCPT ); Thu, 20 Jul 2023 04:49:10 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 029E12699 for ; Thu, 20 Jul 2023 01:49:09 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-68336d06620so455801b3a.1 for ; Thu, 20 Jul 2023 01:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689842948; x=1690447748; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sBMJpDyItnzqWmy2aNUsMJagDM84bbHkArmMp29yfb8=; b=KW+xgangek+Of71GV6+78KS6bQhvicOfRIonYCazciiUjQ9FaZOGt3AAtgm9JVsY5P 3D4oWw3iQ/qmIDRF2cHu8v1dRHlJFdzCwf3+RRT4l29uRWl93ibk5Krda+snkJdwpVD8 97jYTKO73nksmbBHYrQjYY+2j7yj9T9MmcNvpmXacFWM1CCaK+WadKYTlanPv4aaCavq qS3nRVtLKkDwL0H6vnmk7EheGHlGoE67i4d/mBPw3ElH2FN34fBBGHX0in9OULLbqdME g6N6NU+50Ptse51XDMFwuj/4L8VQhd3dSoWZS9kk49ypJRdnmTJAJGNnNEjFeNY0N/5G tRTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689842948; x=1690447748; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sBMJpDyItnzqWmy2aNUsMJagDM84bbHkArmMp29yfb8=; b=DpfNrxvDo9qwaLm2aakSdKcT551zvkF/57LIX869FvgRkGZ1vJIaHjVr7FAKOVcrY1 vO/yjbVDHw9xjrFyP3FR1Pne/zGNRtYEYv1wkIqZmYNFLq9ZCHKJH+kprA3EoOOB3yU4 1kKZ3ZBT586AHDVuhKS9ctTkSojZGvrTJPdPro4Z15e0YpZ+WjSnsClOiiAMiJSRjydP P/hJuzaDl/8zn4yAckHrV9G1wlS3lqK6axzQ4Q/MzM+TjI+uCDn/QZP4siML1uPUQH7Y 6MFY7Tu0OmZOOyw09BxWiygeCyQtx/Ng4S5LXhpBrQSdD0EG5QxmCN8fgGqd0cZQVJIg P2CA== X-Gm-Message-State: ABy/qLad+sDyV93k7ItSN/FJmayPFZPh/33/ppTDw8ovGnBOcC++JH/m OW3IgAv91iKjKUTC+/Lwsf9D X-Google-Smtp-Source: APBJJlFIAqb3MRR0M7M6dUYduFnut83aN0mVypldnTsMftw0d3Itv+M+vqzqZFESpwa1wVIGfkJhrg== X-Received: by 2002:a05:6a00:8ce:b0:63a:ea82:b7b7 with SMTP id s14-20020a056a0008ce00b0063aea82b7b7mr1962948pfu.28.1689842948427; Thu, 20 Jul 2023 01:49:08 -0700 (PDT) Received: from localhost.localdomain ([117.206.119.70]) by smtp.gmail.com with ESMTPSA id k23-20020aa790d7000000b0068285a7f107sm613277pfk.177.2023.07.20.01.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 01:49:07 -0700 (PDT) From: Manivannan Sadhasivam To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH] PM / devfreq: Reword the kernel-doc comment for devfreq_monitor_start() API Date: Thu, 20 Jul 2023 14:18:54 +0530 Message-Id: <20230720084854.18975-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Current kernel-doc comment doesn't specify the default timer used for the load monitoring. Also, it uses the term "default delayed work" which could be misunderstood as "default delayer timer". So reword the comment to clearly specify the default timer and also reword the last sentence to make it more understandable. Signed-off-by: Manivannan Sadhasivam --- drivers/devfreq/devfreq.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 7686993d639f..e2939c1b7d1f 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -472,10 +472,11 @@ static void devfreq_monitor(struct work_struct *work) * devfreq_monitor_start() - Start load monitoring of devfreq instance * @devfreq: the devfreq instance. * - * Helper function for starting devfreq device load monitoring. By - * default delayed work based monitoring is supported. Function - * to be called from governor in response to DEVFREQ_GOV_START - * event when device is added to devfreq framework. + * Helper function for starting devfreq device load monitoring. By default, + * deferrable timer is used for load monitoring. But the users can change this + * behavior using the "timer" type in devfreq_dev_profile. This function will be + * called by devfreq governor in response to the DEVFREQ_GOV_START event + * generated while adding a device to the devfreq framework. */ void devfreq_monitor_start(struct devfreq *devfreq) {