* [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros [not found] <20210224144222.23762-1-daniel.lezcano@linaro.org> @ 2021-02-24 14:42 ` Daniel Lezcano 2021-03-02 16:31 ` Miquel Raynal 0 siblings, 1 reply; 4+ messages in thread From: Daniel Lezcano @ 2021-02-24 14:42 UTC (permalink / raw) To: rafael, andriy.shevchenko Cc: Vignesh Raghavendra, Martin Blumenstingl, Richard Weinberger, linux-kernel, Ramuthevar Vadivel Murugan, open list:NAND FLASH SUBSYSTEM, Miquel Raynal HZ unit conversion macros are available in units.h, use them and remove the duplicate definition. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- 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 a304fda5d1fa..8d00191a4815 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.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros 2021-02-24 14:42 ` [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros Daniel Lezcano @ 2021-03-02 16:31 ` Miquel Raynal 2021-03-02 17:03 ` Daniel Lezcano 0 siblings, 1 reply; 4+ messages in thread From: Miquel Raynal @ 2021-03-02 16:31 UTC (permalink / raw) To: Daniel Lezcano, rafael, andriy.shevchenko Cc: Miquel Raynal, Vignesh Raghavendra, Martin Blumenstingl, Richard Weinberger, linux-kernel, Ramuthevar Vadivel Murugan, open list:NAND FLASH SUBSYSTEM On Wed, 2021-02-24 at 14:42:18 UTC, Daniel Lezcano wrote: > HZ unit conversion macros are available in units.h, use them and > remove the duplicate definition. > > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros 2021-03-02 16:31 ` Miquel Raynal @ 2021-03-02 17:03 ` Daniel Lezcano 2021-03-02 17:12 ` Miquel Raynal 0 siblings, 1 reply; 4+ messages in thread From: Daniel Lezcano @ 2021-03-02 17:03 UTC (permalink / raw) To: Miquel Raynal, rafael, andriy.shevchenko Cc: Vignesh Raghavendra, Martin Blumenstingl, Richard Weinberger, linux-kernel, Ramuthevar Vadivel Murugan, open list:NAND FLASH SUBSYSTEM On 02/03/2021 17:31, Miquel Raynal wrote: > On Wed, 2021-02-24 at 14:42:18 UTC, Daniel Lezcano wrote: >> HZ unit conversion macros are available in units.h, use them and >> remove the duplicate definition. >> >> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Actually, I was expecting to have it merged through linux-pm as this patch depends on 1/9 -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros 2021-03-02 17:03 ` Daniel Lezcano @ 2021-03-02 17:12 ` Miquel Raynal 0 siblings, 0 replies; 4+ messages in thread From: Miquel Raynal @ 2021-03-02 17:12 UTC (permalink / raw) To: Daniel Lezcano Cc: rafael, andriy.shevchenko, Vignesh Raghavendra, Martin Blumenstingl, Richard Weinberger, linux-kernel, Ramuthevar Vadivel Murugan, open list:NAND FLASH SUBSYSTEM Hi Daniel, Daniel Lezcano <daniel.lezcano@linaro.org> wrote on Tue, 2 Mar 2021 18:03:12 +0100: > On 02/03/2021 17:31, Miquel Raynal wrote: > > On Wed, 2021-02-24 at 14:42:18 UTC, Daniel Lezcano wrote: > >> HZ unit conversion macros are available in units.h, use them and > >> remove the duplicate definition. > >> > >> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> > > > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. > > Actually, I was expecting to have it merged through linux-pm as this > patch depends on 1/9 > > > No problem, I just removed it from my tree. However in this case please fix the subject prefix to "mtd: rawnand: intel:". With this nit fixed, Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Thanks, Miquèl ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-03 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20210224144222.23762-1-daniel.lezcano@linaro.org>
2021-02-24 14:42 ` [PATCH v2 8/9] mtd/drivers/nand: Use HZ macros Daniel Lezcano
2021-03-02 16:31 ` Miquel Raynal
2021-03-02 17:03 ` Daniel Lezcano
2021-03-02 17:12 ` Miquel Raynal
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox