From patchwork Wed Jul 22 07:55:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 51333 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 3251A20323 for ; Wed, 22 Jul 2015 07:56:11 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf19897326wic.1 for ; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=4RlHzRCAUm4NtZZRyWbjN243CEtGCBW6YgSJ+PsomJ4=; b=iSH0cLsFTYYOdoyWAbi5uAwiLen5O0J6v6IUXEyAw86xVToCssBOgRt+l5WQz/0ZJd m8OFX7JEYQZSqtma++PG8YPK4Ur0Jq8LKehKgyVidU8lzaU5PecaE6+/+clEOobmSpla W0fKi0zL+xsl+a69L/cenQEZazCYOiDUX1hqGw8agFT5MZAv5X1exVg5ayCLWOBKetoa 6YDT59+C6eXl+ZklAfIJucQOM+YRjODNQWYPEWqgW7ARNW78BZFqGE5UhJ834+P27b1q yJuDjnv+ZlNnj6/FputYkjEWFCVrvA95gtZMKcxje9Xu1BoGauBr24Kb8g7TJsU+rMlB w5Xg== X-Gm-Message-State: ALoCoQnUhzVRvR9gahGXwlTVuylA9tXCqdphva4Z7Ndu48VUsHjetiUfjU5ROv0coxT0qk299KYg X-Received: by 10.194.179.42 with SMTP id dd10mr587665wjc.7.1437551770462; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.227 with SMTP id z3ls32097lad.97.gmail; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) X-Received: by 10.112.160.73 with SMTP id xi9mr1079966lbb.92.1437551770218; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id kx6si531225lac.108.2015.07.22.00.56.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 00:56:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lahe2 with SMTP id e2so70480107lah.1 for ; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr1088674lay.72.1437551770102; Wed, 22 Jul 2015 00:56:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1927898lba; Wed, 22 Jul 2015 00:56:09 -0700 (PDT) X-Received: by 10.66.145.74 with SMTP id ss10mr3299829pab.28.1437551768285; Wed, 22 Jul 2015 00:56:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id am4si1885146pad.93.2015.07.22.00.56.07; Wed, 22 Jul 2015 00:56:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756414AbbGVH4B (ORCPT + 28 others); Wed, 22 Jul 2015 03:56:01 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33404 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756048AbbGVHz7 (ORCPT ); Wed, 22 Jul 2015 03:55:59 -0400 Received: by lbbyj8 with SMTP id yj8so131363534lbb.0 for ; Wed, 22 Jul 2015 00:55:57 -0700 (PDT) X-Received: by 10.112.202.234 with SMTP id kl10mr1074354lbc.51.1437551757845; Wed, 22 Jul 2015 00:55:57 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by smtp.gmail.com with ESMTPSA id ok2sm137093lbb.0.2015.07.22.00.55.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 00:55:56 -0700 (PDT) From: Linus Walleij To: Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 2/3] mfd: ipaq-micro: convert prints to debug prints Date: Wed, 22 Jul 2015 09:55:42 +0200 Message-Id: <1437551743-20599-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1437551743-20599-1-git-send-email-linus.walleij@linaro.org> References: <1437551743-20599-1-git-send-email-linus.walleij@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There is a special function for debug prints rather than the usual hexdump function, let's use it. Signed-off-by: Linus Walleij --- drivers/mfd/ipaq-micro.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c index 99bc2e844c29..9bfe2462c5c5 100644 --- a/drivers/mfd/ipaq-micro.c +++ b/drivers/mfd/ipaq-micro.c @@ -53,8 +53,8 @@ static void ipaq_micro_trigger_tx(struct ipaq_micro *micro) tx->buf[bp++] = checksum; tx->len = bp; tx->index = 0; - print_hex_dump(KERN_DEBUG, "data: ", DUMP_PREFIX_OFFSET, 16, 1, - tx->buf, tx->len, true); + print_hex_dump_debug("data: ", DUMP_PREFIX_OFFSET, 16, 1, + tx->buf, tx->len, true); /* Enable interrupt */ val = readl(micro->base + UTCR3); @@ -281,8 +281,8 @@ static void ipaq_micro_eeprom_dump(struct ipaq_micro *micro) dev_info(micro->dev, "RAM size: %u KiB\n", ipaq_micro_to_u16(dump+92)); dev_info(micro->dev, "screen: %u x %u\n", ipaq_micro_to_u16(dump+94), ipaq_micro_to_u16(dump+96)); - print_hex_dump(KERN_DEBUG, "eeprom: ", DUMP_PREFIX_OFFSET, 16, 1, - dump, 256, true); + print_hex_dump_debug("eeprom: ", DUMP_PREFIX_OFFSET, 16, 1, + dump, 256, true); }