From: Marek Vasut <marek.vasut@gmail.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
linux-mtd@lists.infradead.org
Cc: Alan Cox <alan@linux.intel.com>,
David Woodhouse <David.Woodhouse@intel.com>,
Jason Roberts <jason.e.roberts@intel.com>,
Chuanxiao Dong <chuanxiao.dong@intel.com>,
Dinh Nguyen <dinguyen@altera.com>,
linux-kernel@vger.kernel.org,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Brian Norris <computersforpeace@gmail.com>,
Richard Weinberger <richard@nod.at>,
David Woodhouse <dwmw2@infradead.org>,
Cyrille Pitchen <cyrille.pitchen@atmel.com>
Subject: Re: [PATCH 11/11] mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__
Date: Sat, 12 Nov 2016 22:41:41 +0100 [thread overview]
Message-ID: <360ae82b-d601-d54a-a64e-fcc41b1675b4@gmail.com> (raw)
In-Reply-To: <1478666130-13413-12-git-send-email-yamada.masahiro@socionext.com>
On 11/09/2016 05:35 AM, Masahiro Yamada wrote:
> Such debug lines might be useful when debugging the driver first,
> but should be deleted from the upstream code.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> ---
>
> drivers/mtd/nand/denali.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
> index 14e66ab..e32e13c 100644
> --- a/drivers/mtd/nand/denali.c
> +++ b/drivers/mtd/nand/denali.c
> @@ -181,9 +181,6 @@ static uint16_t denali_nand_reset(struct denali_nand_info *denali)
> {
> int i;
>
> - dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
> - __FILE__, __LINE__, __func__);
> -
> for (i = 0; i < denali->max_banks; i++)
> iowrite32(INTR_STATUS__RST_COMP | INTR_STATUS__TIME_OUT,
> denali->flash_reg + INTR_STATUS(i));
> @@ -233,9 +230,6 @@ static void nand_onfi_timing_set(struct denali_nand_info *denali,
> uint16_t acc_clks;
> uint16_t addr_2_data, re_2_we, re_2_re, we_2_re, cs_cnt;
>
> - dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
> - __FILE__, __LINE__, __func__);
> -
> en_lo = CEIL_DIV(Trp[mode], CLK_X);
> en_hi = CEIL_DIV(Treh[mode], CLK_X);
> #if ONFI_BLOOM_TIME
> @@ -480,9 +474,6 @@ static uint16_t denali_nand_timing_set(struct denali_nand_info *denali)
> uint8_t maf_id, device_id;
> int i;
>
> - dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
> - __FILE__, __LINE__, __func__);
> -
> /*
> * Use read id method to get device ID and other params.
> * For some NAND chips, controller can't report the correct
> @@ -537,9 +528,6 @@ static uint16_t denali_nand_timing_set(struct denali_nand_info *denali)
> static void denali_set_intr_modes(struct denali_nand_info *denali,
> uint16_t INT_ENABLE)
> {
> - dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
> - __FILE__, __LINE__, __func__);
> -
> if (INT_ENABLE)
> iowrite32(1, denali->flash_reg + GLOBAL_INT_ENABLE);
> else
>
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-11-12 21:56 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 4:35 [PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver Masahiro Yamada
2016-11-09 4:35 ` [PATCH 01/11] mtd: nand: denali: remove unneeded <linux/slab.h> includes Masahiro Yamada
2016-11-12 21:28 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 02/11] mtd: nand: denali: remove unused struct member denali_nand_info::idx Masahiro Yamada
2016-11-12 21:29 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 03/11] mtd: nand: denali: remove bogus comment about interrupt handler setup Masahiro Yamada
2016-11-12 21:29 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 04/11] mtd: nand: denali: remove detect_partition_feature() Masahiro Yamada
2016-11-12 21:31 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 05/11] mtd: nand: denali: remove "Spectra:" prefix from printk strings Masahiro Yamada
2016-11-12 21:35 ` Marek Vasut
2016-11-15 2:32 ` Masahiro Yamada
2016-11-18 8:42 ` Masahiro Yamada
2016-11-18 8:49 ` Marek Vasut
2016-11-19 8:25 ` Boris Brezillon
2016-11-09 4:35 ` [PATCH 06/11] mtd: nand: denali: remove unused struct member totalblks, blksperchip Masahiro Yamada
2016-11-12 21:35 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 07/11] mtd: nand: denali: use managed devm_irq_request() Masahiro Yamada
2016-11-12 21:38 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 08/11] mtd: nand: denali: return error code from devm_request_irq() on error Masahiro Yamada
2016-11-12 21:39 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail " Masahiro Yamada
2016-11-12 21:40 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 10/11] mtd: nand: denali: remove unneeded parentheses Masahiro Yamada
2016-11-12 21:41 ` Marek Vasut
2016-11-09 4:35 ` [PATCH 11/11] mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__ Masahiro Yamada
2016-11-12 21:41 ` Marek Vasut [this message]
2016-11-12 21:41 ` [PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver Marek Vasut
2016-11-19 8:30 ` Boris Brezillon
2016-11-19 16:15 ` Masahiro Yamada
2016-11-19 18:26 ` Boris Brezillon
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=360ae82b-d601-d54a-a64e-fcc41b1675b4@gmail.com \
--to=marek.vasut@gmail.com \
--cc=David.Woodhouse@intel.com \
--cc=alan@linux.intel.com \
--cc=boris.brezillon@free-electrons.com \
--cc=chuanxiao.dong@intel.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@atmel.com \
--cc=dinguyen@altera.com \
--cc=dwmw2@infradead.org \
--cc=jason.e.roberts@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
--cc=yamada.masahiro@socionext.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
all inboxes | Powered by JetHome®