commit | 3c6bbe0c9692f86a005da404c15ae10a127abda6 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sun Jan 22 16:06:33 2023 -0600 |
committer | Andre Przywara <andre.przywara@arm.com> | Fri Apr 28 01:06:57 2023 +0100 |
tree | 846455844d1650fc0500fb08bb90dc591f133ae4 | |
parent | aba2615dc4c53c5ba8ef4e0953c9a3c90b8fedbf [diff] |
mtd: nand: sunxi: Remove an unnecessary check Each chip is required to have a unique CS number ("reg" property) in the range 0-7, so there is no need to separately count the number of chips. Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>