public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] mfd: ipaq-micro: convert prints to debug prints
Date: Thu, 23 Jul 2015 16:41:45 +0100	[thread overview]
Message-ID: <20150723154145.GQ3436@x1> (raw)
In-Reply-To: <1437551743-20599-2-git-send-email-linus.walleij@linaro.org>

On Wed, 22 Jul 2015, Linus Walleij wrote:

> There is a special function for debug prints rather than the
> usual hexdump function, let's use it.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/mfd/ipaq-micro.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

> 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);
>  
>  }
>  

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2015-07-23 15:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22  7:55 [PATCH 1/3] mfd: ipaq-micro: clean up development cruft Linus Walleij
2015-07-22  7:55 ` [PATCH 2/3] mfd: ipaq-micro: convert prints to debug prints Linus Walleij
2015-07-23 15:41   ` Lee Jones [this message]
2015-07-22  7:55 ` [PATCH 3/3] mfd: ipaq-micro: convert to builtin platform driver Linus Walleij
2015-07-23 15:42   ` Lee Jones
2015-07-23 15:41 ` [PATCH 1/3] mfd: ipaq-micro: clean up development cruft Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150723154145.GQ3436@x1 \
    --to=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox