[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210816114732.1834145-10-daniel.lezcano@linaro.org>
Date: Mon, 16 Aug 2021 13:47:31 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: andriy.shevchenko@...ux.intel.com, akpm@...ux-foundation.org
Cc: jic23@...nel.org, linux-kernel@...r.kernel.org, ceggers@...i.de,
lukasz.luba@....com, myungjoo.ham@...sung.com,
kyungmin.park@...sung.com, lars@...afoo.de, pmeerw@...erw.net,
rui.zhang@...el.com, linux@...ck-us.net, miquel.raynal@...tlin.com,
mcoquelin.stm32@...il.com, rafael@...nel.org,
daniel.lezcano@...aro.org
Subject: [PATCH v3 09/10] mtd/drivers/nand: Use HZ macros
HZ unit conversion macros are available in units.h, use them and
remove the duplicate definition.
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Acked-by: Miquel Raynal <miquel.raynal@...tlin.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
drivers/mtd/nand/raw/intel-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/intel-nand-controller.c b/drivers/mtd/nand/raw/intel-nand-controller.c
index 8b49fd56cf96..709f0402fbae 100644
--- a/drivers/mtd/nand/raw/intel-nand-controller.c
+++ b/drivers/mtd/nand/raw/intel-nand-controller.c
@@ -20,6 +20,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/types.h>
+#include <linux/units.h>
#include <asm/unaligned.h>
#define EBU_CLC 0x000
@@ -102,7 +103,6 @@
#define MAX_CS 2
-#define HZ_PER_MHZ 1000000L
#define USEC_PER_SEC 1000000L
struct ebu_nand_cs {
--
2.25.1
Powered by blists - more mailing lists