mtd: spi-nor: use le32_to_cpu_array()

The driver calls le32_to_cpu() to convert the little-endian tables
to  a CPU endianness, where le32_to_cpus() should have been called.
Was going to use that one... and then discovered a whole array
converter, le32_to_cpu_array()! :-)

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
This commit is contained in:
Sergei Shtylyov 2020-02-01 23:55:08 +03:00 • committed by Tudor Ambarus
commit 5b24efe7d5
No known key found for this signature in database
GPG key ID: 4B554F47A58D14E9