[PATCH 0/3] mtd: some minor cleanups for ooblayout APIs

From: Masahiro Yamada
Date: Tue Nov 08 2016 - 21:07:41 EST


- Remove unnecessary initializers
- Use min_t() helper

Masahiro Yamada (3):
mtd: remove unneeded initializer in mtd_ooblayout_{get,set}_bytes()
mtd: use min_t() to refactor mtd_ooblayout_{get,set}_bytes()
mtd: remove unneeded initializer in mtd_ooblayout_count_bytes()

drivers/mtd/mtdcore.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

--
1.9.1