OSDN Git Service

mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 Sep 2017 03:46:38 +0000 (12:46 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 22 Sep 2017 07:04:15 +0000 (09:04 +0200)
commitee0ae6a38d7acf0ec68ac8bb043a7e7cdbd002c8
treeeb38613bca1c762aa793b6ca1b2090f3d7526b60
parent100f7fbe9c25bdac334039b389453f219a6819c5
mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller

The setup_ecc_for_xfer() is only called from denali_data_xfer().
This helper is small enough, so squash it into the caller.
This looks cleaner to me.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c