From patchwork Wed Sep 7 15:28:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Azael Avalos X-Patchwork-Id: 9319541 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5493860752 for ; Wed, 7 Sep 2016 15:29:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AE50293DF for ; Wed, 7 Sep 2016 15:29:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F78E293E1; Wed, 7 Sep 2016 15:29:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0315293DF for ; Wed, 7 Sep 2016 15:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756927AbcIGP21 (ORCPT ); Wed, 7 Sep 2016 11:28:27 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34848 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964838AbcIGP2W (ORCPT ); Wed, 7 Sep 2016 11:28:22 -0400 Received: by mail-oi0-f65.google.com with SMTP id 2so2313482oif.2; Wed, 07 Sep 2016 08:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qc4TrjEf/LA6nM895j6JWPLaEAO2Vtf8G94BXwoWGmM=; b=L4iJDc7rwZ61pkbiJYAb0Fq5Z2LOu0hr1DlsqnDveyx63y+IAvxvyROgFM4GMsKZYw QK8LUSXeWJy2JDbx4WTf/C4sd59SP9KgqyfdTLMnNuf0sGT8yiwy/ca1jCkX2nuwqzYZ 2ohZckpBuvH+NQGLKH74O/mk/Uf7c5tUgAJT1CeVT1hpWPvHFEtYRm2ILjesiUFacKMw yoy3WPhI1R9Pb9iaUw93L8mUKiV7HHQVJ5dUsIwdb6g1rHFzOS1y4S3d6rD/OT31ER21 twS6Ga+zdd0/Yeqsr2trjwIhUw8hPspRdvRsZXKA2n8xJddXwMRWP6l5g4ZjlbExq7ct ZnNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qc4TrjEf/LA6nM895j6JWPLaEAO2Vtf8G94BXwoWGmM=; b=eZA1e9cp7NeoEHhpFlg2BpTDQfJg05HhekpyIU8NPp9Pzr6dZ+CV3v8TXby6ITQ0ib IDTI29I9w1vBrm4nhREWQVe1Kq3FsjCXnsWl6atJDTQ+6YhfR6vR16VBSU35u7qZoJbI FibOyMxCzroH+PlyTe06P99vlch1lf+bUul7VDdGQf/YklfA60x5fNxtT7Q0MoVJ/Xrv 8h2uKwtD/DGeEfVX9DjRsxD/LV44hXfYtnwj07dfMIl8ro940XZYJoVqdYjcivWzc5Zi 2perW0GO4GTLewI1XzY/7fPnZety65M773mgcmfyMXtiX7UZmOMUHGZ//NVM1natQZud BiQw== X-Gm-Message-State: AE9vXwNfLScCcbfBwu5nPcc4AJ06KUfnbTeYNTGBuJpouFXRWsb/0hk0W1tD9npqnI5Ang== X-Received: by 10.157.16.83 with SMTP id o19mr41612332oto.194.1473262101644; Wed, 07 Sep 2016 08:28:21 -0700 (PDT) Received: from Shakuras.scurra.org ([148.210.135.54]) by smtp.gmail.com with ESMTPSA id l10sm12629705ote.19.2016.09.07.08.28.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 08:28:21 -0700 (PDT) From: Azael Avalos To: Darren Hart , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Azael Avalos Subject: [PATCH 2/2] toshiba_haps: Change the error logging level from info to debug Date: Wed, 7 Sep 2016 09:28:14 -0600 Message-Id: <20160907152815.5950-3-coproscefalo@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160907152815.5950-1-coproscefalo@gmail.com> References: <20160907152815.5950-1-coproscefalo@gmail.com> Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Two of the internal functions are printing an info message, one whenever the HDD protection level changes, and another when the driver receives an ACPI event. This patch changes those two prints to debug, as that information is more pertaining to debuging purposes. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_haps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c index 094f3a8..b3dec52 100644 --- a/drivers/platform/x86/toshiba_haps.c +++ b/drivers/platform/x86/toshiba_haps.c @@ -59,7 +59,7 @@ static int toshiba_haps_protection_level(acpi_handle handle, int level) return -EIO; } - pr_info("HDD protection level set to: %d\n", level); + pr_debug("HDD protection level set to: %d\n", level); return 0; } @@ -141,7 +141,7 @@ static struct attribute_group haps_attr_group = { */ static void toshiba_haps_notify(struct acpi_device *device, u32 event) { - pr_info("Received event: 0x%x", event); + pr_debug("Received event: 0x%x", event); acpi_bus_generate_netlink_event(device->pnp.device_class, dev_name(&device->dev),