Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp730724pxj; Fri, 11 Jun 2021 10:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrolXyQD1VS2s1WLRAvH2XCuBVoX/zpQNB4v5s9W7jynKEpMGbP2ybYwmAsUqoQmBqfqRe X-Received: by 2002:aa7:d6cc:: with SMTP id x12mr4755121edr.55.1623430883157; Fri, 11 Jun 2021 10:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623430883; cv=none; d=google.com; s=arc-20160816; b=at2kKfZDXS3V7ukbm6LjzlMvfBmWhbpGNwkA4FeOtQ3KZ+Ca0nqMDS4lpFqZJAQbtZ tt0zCsSuUrQzMDtkR073i+dTwaprtrOp70nuULZKCKqAHD/WRuwkWZKzX88oSnwAM3h/ 01Jj+DZLzlXyCOUFtVe1+xUzpEivIct4T5eF8MgLvOrepOyQJMuWl4O8cMozpqDLZ364 9AoL1FixD35U5pTZXmsdiCo4kHNbqY7f3cXqWtEgRkdABBspvgg7eXwKkifI6bC46H+9 afHqyAf3nEExvqsSXmWNbYC9DBXA11KeHITsYIoK3xmX2XHlv7JaRddHIKrtXIDJcBQx vdww== 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 :message-id:date:subject:cc:to:from; bh=5jzkzCTRGYww9QCeU9aC7laUYqAmAFPRZNtPLKFv3+k=; b=RMDXzOmfiqgL/Df3ZP99+sHwZyFnfBYEuSJ1eBbJxmKtIUOmnyV16jqnuCF2Rkatv3 aNHTOwc9Q6pP3ChM+V1+QYaqTI3yqy/+L4VV0gDrIKZ8QSddq0l2jx58b55VmVAc2XDx ZoIEyTmFKxq2KDS7rFnnWbB1ISEWulebzWLIoPNpn6jPRfhiyz9hu2oqQKMtp/eUwVtZ //qC04eeXSJfcfacPPK6rdU2EM/S5sJgg/ikGpnfI0vvlQnLUTj+mUxn2f+tyHrl1tgq 8R72ggChpe8jogmR7tbEZ8sfmiWecaaQvGO5GuYD3Ll+zQNiXVvRfcUvtrCzlKewyNQy anJg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be14si5325373edb.452.2021.06.11.10.00.59; Fri, 11 Jun 2021 10:01:23 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbhFKRAv (ORCPT + 99 others); Fri, 11 Jun 2021 13:00:51 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:49266 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbhFKRAt (ORCPT ); Fri, 11 Jun 2021 13:00:49 -0400 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 2.0.5) id c1029fb533963793; Fri, 11 Jun 2021 18:58:49 +0200 Received: from kreacher.localnet (89-64-82-41.dynamic.chello.pl [89.64.82.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id ACEC56698B2; Fri, 11 Jun 2021 18:58:48 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: Linux PM , LKML , Borislav Petkov Subject: [PATCH] ACPI: power: Use dev_dbg() to print some messages Date: Fri, 11 Jun 2021 18:58:48 +0200 Message-ID: <2601165.mvXUDI8C0e@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 89.64.82.41 X-CLIENT-HOSTNAME: 89-64-82-41.dynamic.chello.pl X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrfedukedgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpefhgedtffejheekgeeljeevvedtuefgffeiieejuddutdekgfejvdehueejjeetvdenucfkphepkeelrdeigedrkedvrdegudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrieegrdekvddrgedupdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepsghpsehsuhhsvgdruggv X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki The messages printed by acpi_resume_power_resources() and acpi_turn_off_unused_power_resources() are not important enough to be printed with pr_info(), so use dev_dbg() instead of it to get rid of some noise in the kernel log. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-pm/drivers/acpi/power.c =================================================================== --- linux-pm.orig/drivers/acpi/power.c +++ linux-pm/drivers/acpi/power.c @@ -1004,7 +1004,7 @@ void acpi_resume_power_resources(void) if (state == ACPI_POWER_RESOURCE_STATE_OFF && resource->ref_count) { - dev_info(&resource->device.dev, "Turning ON\n"); + dev_dbg(&resource->device.dev, "Turning ON\n"); __acpi_power_on(resource); } @@ -1034,7 +1034,7 @@ void acpi_turn_off_unused_power_resource */ if (!resource->ref_count && resource->state != ACPI_POWER_RESOURCE_STATE_OFF) { - dev_info(&resource->device.dev, "Turning OFF\n"); + dev_dbg(&resource->device.dev, "Turning OFF\n"); __acpi_power_off(resource); }