diff options
| author | Michael Trimarchi <[email protected]> | 2022-07-25 10:06:06 +0200 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2022-08-22 11:15:04 +0200 |
| commit | c76f9ddf91b14312e71594459ebb3dd72d885aa8 (patch) | |
| tree | ce67ff83e709a7162c35ba1b8a7665d9dd8ccfca /scripts | |
| 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 <[email protected]>
Reviewed-by: Dario Binacchi <[email protected]>
Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
