public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: gpmi: Fix typo in data structure name
@ 2017-06-05  9:33 Matthias Lange
  2017-06-07  7:30 ` Boris Brezillon
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Lange @ 2017-06-05  9:33 UTC (permalink / raw)
  To: han.xu, boris.brezillon, richard, dwmw2, computersforpeace,
	marek.vasut, cyrille.pitchen, linux-mtd
  Cc: Matthias Lange

This makes it easier to grep.

Signed-off-by: Matthias Lange <matthias.lange@kernkonzept.com>
---
 drivers/mtd/nand/gpmi-nand/gpmi-lib.c  | 4 ++--
 drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
index 141bd70..57ff051 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
@@ -26,7 +26,7 @@
 #include "gpmi-regs.h"
 #include "bch-regs.h"
 
-static struct timing_threshod timing_default_threshold = {
+static struct timing_threshold timing_default_threshold = {
 	.max_data_setup_cycles       = (BM_GPMI_TIMING0_DATA_SETUP >>
 						BP_GPMI_TIMING0_DATA_SETUP),
 	.internal_data_setup_in_ns   = 0,
@@ -329,7 +329,7 @@ static unsigned int ns_to_cycles(unsigned int time,
 static int gpmi_nfc_compute_hardware_timing(struct gpmi_nand_data *this,
 					struct gpmi_nfc_hardware_timing *hw)
 {
-	struct timing_threshod *nfc = &timing_default_threshold;
+	struct timing_threshold *nfc = &timing_default_threshold;
 	struct resources *r = &this->resources;
 	struct nand_chip *nand = &this->nand;
 	struct nand_timing target = this->timing;
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
index 4e49a1f..41f5917 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
@@ -231,7 +231,7 @@ struct gpmi_nfc_hardware_timing {
 };
 
 /**
- * struct timing_threshod - Timing threshold
+ * struct timing_threshold - Timing threshold
  * @max_data_setup_cycles:       The maximum number of data setup cycles that
  *                               can be expressed in the hardware.
  * @internal_data_setup_in_ns:   The time, in ns, that the NFC hardware requires
@@ -253,7 +253,7 @@ struct gpmi_nfc_hardware_timing {
  *                               progress, this is the clock frequency during
  *                               the most recent I/O transaction.
  */
-struct timing_threshod {
+struct timing_threshold {
 	const unsigned int      max_chip_count;
 	const unsigned int      max_data_setup_cycles;
 	const unsigned int      internal_data_setup_in_ns;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: nand: gpmi: Fix typo in data structure name
  2017-06-05  9:33 [PATCH] mtd: nand: gpmi: Fix typo in data structure name Matthias Lange
@ 2017-06-07  7:30 ` Boris Brezillon
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2017-06-07  7:30 UTC (permalink / raw)
  To: Matthias Lange
  Cc: han.xu, richard, dwmw2, computersforpeace, marek.vasut,
	cyrille.pitchen, linux-mtd

On Mon,  5 Jun 2017 11:33:51 +0200
Matthias Lange <matthias.lange@kernkonzept.com> wrote:

> This makes it easier to grep.

Applied.

> 
> Signed-off-by: Matthias Lange <matthias.lange@kernkonzept.com>
> ---
>  drivers/mtd/nand/gpmi-nand/gpmi-lib.c  | 4 ++--
>  drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> index 141bd70..57ff051 100644
> --- a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> +++ b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> @@ -26,7 +26,7 @@
>  #include "gpmi-regs.h"
>  #include "bch-regs.h"
>  
> -static struct timing_threshod timing_default_threshold = {
> +static struct timing_threshold timing_default_threshold = {
>  	.max_data_setup_cycles       = (BM_GPMI_TIMING0_DATA_SETUP >>
>  						BP_GPMI_TIMING0_DATA_SETUP),
>  	.internal_data_setup_in_ns   = 0,
> @@ -329,7 +329,7 @@ static unsigned int ns_to_cycles(unsigned int time,
>  static int gpmi_nfc_compute_hardware_timing(struct gpmi_nand_data *this,
>  					struct gpmi_nfc_hardware_timing *hw)
>  {
> -	struct timing_threshod *nfc = &timing_default_threshold;
> +	struct timing_threshold *nfc = &timing_default_threshold;
>  	struct resources *r = &this->resources;
>  	struct nand_chip *nand = &this->nand;
>  	struct nand_timing target = this->timing;
> diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
> index 4e49a1f..41f5917 100644
> --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
> +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
> @@ -231,7 +231,7 @@ struct gpmi_nfc_hardware_timing {
>  };
>  
>  /**
> - * struct timing_threshod - Timing threshold
> + * struct timing_threshold - Timing threshold
>   * @max_data_setup_cycles:       The maximum number of data setup cycles that
>   *                               can be expressed in the hardware.
>   * @internal_data_setup_in_ns:   The time, in ns, that the NFC hardware requires
> @@ -253,7 +253,7 @@ struct gpmi_nfc_hardware_timing {
>   *                               progress, this is the clock frequency during
>   *                               the most recent I/O transaction.
>   */
> -struct timing_threshod {
> +struct timing_threshold {
>  	const unsigned int      max_chip_count;
>  	const unsigned int      max_data_setup_cycles;
>  	const unsigned int      internal_data_setup_in_ns;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-07  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05  9:33 [PATCH] mtd: nand: gpmi: Fix typo in data structure name Matthias Lange
2017-06-07  7:30 ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox