aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd
diff options
context:
space:
mode:
authorNicholas Mc Guire2018-07-21 16:21:51 +0200
committerBoris Brezillon2018-08-01 09:27:38 +0200
commit3938c0d4cf60477ec776c9a7751226b06bb3c3c0 (patch)
tree6d24abdc60b1d3b0216982066fa6c353337d8caf /Documentation/devicetree/bindings/mtd
parent261b354caf299a3ff54ba5b35636687c857a0075 (diff)
mtd: spi-nor: cadence-quadspi: fix timeout handling
wait_for_completion_timeout returns an unsigned long not an int, so let's check its return value directly instead of storing it in ret, and avoid checking for negative values since this cannot happen. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
0 files changed, 0 insertions, 0 deletions