OSDN Git Service

mtd: rawnand: timings: Make onfi_fill_interface_config() a void helper
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 11:13:14 +0000 (13:13 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:07 +0000 (08:35 +0200)
commit42a9ad050e6f1f6e909e2117e7a99f54f5336939
tree75892931cab6c85d024551bedc5cba7854919bd0
parent4c46667b3d67253604ee42840917844548c86657
mtd: rawnand: timings: Make onfi_fill_interface_config() a void helper

Warn the user if the parameters are wrong but basically it would mean
there is a serious issue in the NAND core. So no need to ever check
its output, let's make this helper return void.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-21-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/internals.h
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_timings.c