From patchwork Mon May 15 09:44:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 99801 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1460543qge; Mon, 15 May 2017 02:44:47 -0700 (PDT) X-Received: by 10.98.217.5 with SMTP id s5mr5200724pfg.42.1494841487788; Mon, 15 May 2017 02:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494841487; cv=none; d=google.com; s=arc-20160816; b=GoiWAvNnxBb1qqUmJk4TVn1ygvqw75tH5jiuE8gRnXE6bziBEgJ+U2sMYSZ45z2YyY VA95PAzucjwM8+NrK/XH1MPrxQAjxoNpX97bffc17uHbHkiNnt7HII9FQRMJLDRk46HJ DTxvEYi1sq6ZN1DZTn6aIWN7CwQqtNrvd2DK4afyQVxZtxH5Z94Jmx0gHavU37Dz8rre PZUASo/fJh+yODhKSM4UOQQvJWPB5iCSQVuIECZGjXtqiyrVkd/2k0ChMhkjTeMXk9r9 gSfZcQXvnMSH2i4NH3FmS3XZ3LKwo6VwY6hRTc3oGzAfZfB5UiYMxDHZY7dLaHp2Vg6l /HjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Wy3pwGCU10tRoRJE16PKUqs+YRcSRxIRRx3+MPxZ7mI=; b=h4/5VpG7pvDiojj9crR7CZ8wU5t3Y2PYcglQ+UirCHlU6tvRAdR+liaxbJsCFWwq6N 2TdAw8Rjq6BVWeYB6ThaVPGD09eDP6U3w2cP3PWo1zUihuGwTx1eKJNEkqqFggJne8c7 j8LZmi3tvS0Amzfd/cFBZ8BIsZM3pS+EHKvUBXOPjBqEdl4xY4d8WwRjfBY+cflgDRGE cAM7tZOvg3hB3YayMETSXJUI/DaYYrAQtuLqxkyoLhTSicmlW5y/hzllGf/j3yxZAwW2 X6B9rcLNWALtNgpY0xjNp1EMrpV3R+xxZULkA3Y6YAblSn77d+0g+ZIfP1uN59K2JQxt 0R6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s192si384256pgs.257.2017.05.15.02.44.47; Mon, 15 May 2017 02:44:47 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760794AbdEOJog (ORCPT + 25 others); Mon, 15 May 2017 05:44:36 -0400 Received: from mail-wr0-f174.google.com ([209.85.128.174]:36341 "EHLO mail-wr0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760750AbdEOJoM (ORCPT ); Mon, 15 May 2017 05:44:12 -0400 Received: by mail-wr0-f174.google.com with SMTP id l50so78072981wrc.3 for ; Mon, 15 May 2017 02:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Wy3pwGCU10tRoRJE16PKUqs+YRcSRxIRRx3+MPxZ7mI=; b=QxGklm1qyppjnKoaf/B80GxDhoELrVC4YZDUlIS8Cqub0ws13snt8VMmV82XqVD2qy xTPX/zzx9YoSE5RxrPidf1P7MjCcVEkbmYY3wNaX21Mm53zMA5bgKjqJiPcbO7/qitw9 9ivpzMI2hru9cfIEn2krYkDiDu9x9ZVhL6z+o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Wy3pwGCU10tRoRJE16PKUqs+YRcSRxIRRx3+MPxZ7mI=; b=MfGS9RfuG0l7Hzc57X1di1FG0c0RvI8LiDf6sqr96/18H5uVCbqTQGZGvUUxi82AJc uIyY6Tu0kEYlzY+WkeFk6ffdI47uwVm2gRc8Hf4Ts94MUmpVHof2dAWGUvbEWHfWm5pl eDgLV5iH7oY1L66jlWSwMV3bYX0rUOrc9nYl2OB6dQSZS57xrmNEgoilcCIyMqf/stwX nNcikNM0e+sPGV9oUjo1wTPw4Q6HwEDiQ/jEntk3otqlanbfheA6+n+wJatH0kMw6CUS ab03kly+/90Clmi6RtDPrJ3AdBbALrvTgxrXjPGtsbe8gp2Z3zy5flwTcSYsJBlo5JQq qW3A== X-Gm-Message-State: AODbwcCC5xC23+oGvSE7LrV07Afdjq8YlS1DGmUZ1TjYfBAK3Ygm0BRX aYq6oOW12T2RBYCD X-Received: by 10.46.71.5 with SMTP id u5mr1633165lja.88.1494841450393; Mon, 15 May 2017 02:44:10 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id v9sm2052061ljd.17.2017.05.15.02.44.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 May 2017 02:44:09 -0700 (PDT) From: Linus Walleij To: lee.jones@linaro.org, linux-kernel@vger.kernel.org Cc: Linus Walleij Subject: [PATCH] mfd: ipaq-micro: dump debugging hexdumps Date: Mon, 15 May 2017 11:44:05 +0200 Message-Id: <20170515094405.12910-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These hexdumps get printed no matter if CONFIG_DEBUG is set or not. Just get rid of them. Signed-off-by: Linus Walleij --- drivers/mfd/ipaq-micro.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.9.3 diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c index 124aad2b1d02..cd762d08f116 100644 --- a/drivers/mfd/ipaq-micro.c +++ b/drivers/mfd/ipaq-micro.c @@ -53,8 +53,6 @@ static void ipaq_micro_trigger_tx(struct ipaq_micro *micro) tx->buf[bp++] = checksum; tx->len = bp; tx->index = 0; - print_hex_dump_debug("data: ", DUMP_PREFIX_OFFSET, 16, 1, - tx->buf, tx->len, true); /* Enable interrupt */ val = readl(micro->base + UTCR3); @@ -281,9 +279,6 @@ static void __init 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_debug("eeprom: ", DUMP_PREFIX_OFFSET, 16, 1, - dump, 256, true); - } static void micro_tx_chars(struct ipaq_micro *micro)