Commit 9a4ba1f
spi: atmel-quadspi: void return type for atmel_qspi_init()
commit 2d30ac5 ("mtd: spi-nor: atmel-quadspi: Use spi-mem interface for atmel-quadspi driver")
removed the error path from atmel_qspi_init(), but not changed the
function's return type. Set void return type for atmel_qspi_init().
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
[claudiu.beznea@microchip.com: adapt it to current code base]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 2be6062 commit 9a4ba1f
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | | - | |
388 | 386 | | |
389 | 387 | | |
390 | 388 | | |
| |||
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
478 | | - | |
479 | | - | |
480 | | - | |
| 476 | + | |
481 | 477 | | |
482 | 478 | | |
483 | 479 | | |
| |||
519 | 515 | | |
520 | 516 | | |
521 | 517 | | |
522 | | - | |
| 518 | + | |
| 519 | + | |
523 | 520 | | |
524 | 521 | | |
525 | 522 | | |
| |||
0 commit comments