Files
u-boot/drivers
Fabien Parent 304decdd31 mtd: spi: don't return -1 when scan succeed
In spi_flash_scan, 'ret' is initialled to -1, but 'ret' is not always
used to store a return value, in that case, even when the function
succeed, an error (-1) will be returned.
Lets just return 0 if we hit the end of the function.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2016-12-15 16:57:28 +01:00
..
2016-11-25 17:59:31 -07:00
2016-10-19 09:01:51 +02:00
2016-01-27 15:32:05 +01:00
2016-12-02 21:03:31 -07:00
2016-02-06 12:00:59 +01:00
2016-08-12 16:00:50 -04:00
2016-03-14 19:21:44 -04:00
2016-11-28 19:49:49 -05:00