commit | c76f9ddf91b14312e71594459ebb3dd72d885aa8 | [log] [tgz] |
---|---|---|
author | Michael Trimarchi <michael@amarulasolutions.com> | Mon Jul 25 10:06:06 2022 +0200 |
committer | Michael Trimarchi <michael@amarulasolutions.com> | Mon Aug 22 11:15:04 2022 +0200 |
tree | ce67ff83e709a7162c35ba1b8a7665d9dd8ccfca | |
parent | 8a67acfce24f825b4935c87b2dbd70915d6eeeaa [diff] |
mtd: nand: change return type of nand_get_flash_type() to int Upstream linux commit 4722c0e958e636. The returned "type" is never used in nand_scan_ident() and spl code Make nand_get_flash_type() simply return an integer value in order to avoid unnecessary ERR_PTR/PTR_ERR dance. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>