mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mtd: onenand: omap2: Remove skip initial unlocking support
No platform data user sets skip_initial_unlocking, so remove test for this field. Signed-off-by: Ladislav Michl <[email protected]> Reviewed-by: Peter Ujfalusi <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Acked-by: Roger Quadros <[email protected]> Tested-by: Tony Lindgren <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
This commit is contained in:
parent
e6854e029b
commit
11066d4295
1 changed files with 0 additions and 3 deletions
|
|
@ -700,9 +700,6 @@ static int omap2_onenand_probe(struct platform_device *pdev)
|
|||
}
|
||||
}
|
||||
|
||||
if (pdata->skip_initial_unlocking)
|
||||
this->options |= ONENAND_SKIP_INITIAL_UNLOCKING;
|
||||
|
||||
if ((r = onenand_scan(&c->mtd, 1)) < 0)
|
||||
goto err_release_dma;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue