Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp764517pxb; Tue, 2 Feb 2021 17:59:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTypxC2+dn3aV0dm3ITTKqts+9gb8+z9h5Vw2KXXRr+iT0RwCNvrUZcXRTQwdFZ4a06Kmo X-Received: by 2002:aa7:d656:: with SMTP id v22mr814954edr.349.1612317587980; Tue, 02 Feb 2021 17:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612317587; cv=none; d=google.com; s=arc-20160816; b=w2B5KpXoc3qs04aJ0v4bpN7Jn/5IZkySS9lfISKEHp6PKujycaUHa081g0LCegcZKY GGozDsxw5Oy1GNVzfz+ldVXF9B07Pmd0YfgYVULV7FZ55d8ThWnF+wkP9mXYB1PbOhiC VO5Bm5ASPHLmhHHXumk8aWmuOqU4t4Y9ccSVhpAKlMAJ2V2G3rJwbFbc4XfSwMxR50D8 VvdKh64I9IyctwNbcvSQTvcrQj1cLHQQ+vCxUuVaXDDPBKRw00oJYRBW0AWYnldqhnMz o4P9SFWUxXzlJ7ZGmkmqL50HM5Rr3GvYdG98iG5Xf/HBme6IS+rzoPS0rRag39CKGGCZ F4iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=RzNdjJG7Osb3sLookMJhUMH7wuDQcntLN+Zqb1FdhI0=; b=WskNBNLPu7cKRrVMW/cCnE4zmzOY7/MmfQv/qIY9FhvAEGpzmiFZ54r6Ghw7vznBLc nE9KySksT0Q9ls5fHdUaUhUG08Qku2Iau9FXbw8WXMzGBC4U1PIJZDj6tVx4g4eldTYk NbTUj2hsUCTuLdU2AyvvdusZ3VV6ywE7jRw32z05RE9tyMPrDMB4MLpSw5icmmCwhYWg 9VvNbzGhJlx1Aa3X74RUfZ02DIIzzr8gEHm51RrmkY8Xrua/BRqoBqey0Z1bQcq5LS49 mBGPHeABrlSyZWAx8Zs0WNKJMlwIPloUg+XRxDcNOaUJmPN6PIvM+DEz1ab6IfUWR/4i nWrg== 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 u8si367606ejn.270.2021.02.02.17.59.23; Tue, 02 Feb 2021 17:59:47 -0800 (PST) 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 S231448AbhBCB4r (ORCPT + 99 others); Tue, 2 Feb 2021 20:56:47 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:12009 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbhBCB4q (ORCPT ); Tue, 2 Feb 2021 20:56:46 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DVl9d6GdbzjHrd; Wed, 3 Feb 2021 09:54:45 +0800 (CST) Received: from [10.174.178.147] (10.174.178.147) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Wed, 3 Feb 2021 09:56:02 +0800 Subject: Re: [PATCH v2 3/5] ACPI: button: Clean up printing messages To: "Rafael J. Wysocki" , Linux ACPI CC: Linux PM , LKML , "Rafael J. Wysocki" , Zhang Rui , Hans de Goede , Erik Kaneda , "Joe Perches" References: <2367702.B5bJTmGzJm@kreacher> <1991501.dpTHplkurC@kreacher> <1735040.lGk2htMl04@kreacher> From: Hanjun Guo Message-ID: <87d81a42-205d-ec4e-c308-f2a96f56f96c@huawei.com> Date: Wed, 3 Feb 2021 09:56:02 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1735040.lGk2htMl04@kreacher> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.147] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/3 2:17, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Replace the ACPI_DEBUG_PRINT() instance in button.c with an > acpi_handle_debug() call, drop the _COMPONENT and ACPI_MODULE_NAME() > definitions that are not used any more, drop the no longer needed > ACPI_BUTTON_COMPONENT definition from the headers and update the > documentation accordingly. > > While at it, replace the direct printk() invocations with pr_info() > (that changes the excessive log level for some of them too) and drop > the unneeded PREFIX sybmbol definition from battery.c. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Hanjun Guo