[PATCH] mtd: spi-nor: rename method for enabling or disabling octal DTR
Tudor Ambarus
tudor.ambarus at linaro.org
Tue Jul 18 10:43:07 PDT 2023
On Fri, 14 Jul 2023 18:07:57 +0300, Tudor Ambarus wrote:
> Having an *_enable(..., bool enable) definition was misleading
> as the method is used both to enable and to disable the octal DTR
> mode. Splitting the method in the core in two, one to enable and
> another to disable the octal DTR mode does not make sense as the
> method is straight forward and we'd introduce code duplication.
>
> Update the core to use:
> int (*set_octal_dtr)(struct spi_nor *nor, bool enable);
>
> [...]
Applied to git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git,
spi-nor/next branch. Thanks!
[1/1] mtd: spi-nor: rename method for enabling or disabling octal DTR
https://git.kernel.org/mtd/c/d4996700abc1
Cheers,
--
Tudor Ambarus <tudor.ambarus at linaro.org>
More information about the linux-mtd
mailing list