mtd: nand: sunxi: make use of readl_poll_timeout()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 7 Mar 2016 14:25:17 +0000 (15:25 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:45 +0000 (22:05 +0200)
commit166f08c7b6ab2f98eebbb6fc1fdb0be1efe0a566
treef9843146b410c134f6b7fe806b98a5d23afea287
parenta9a416f0c723e10ecccfe7ea30e93dfee0dbf10d
mtd: nand: sunxi: make use of readl_poll_timeout()

Replace open coded polling loops by readl_poll_timeout() calls.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sunxi_nand.c