mtd: fsmc_nand: fix handling of wait_for_completion_timeout return value
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 13 Mar 2015 11:54:45 +0000 (07:54 -0400)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 May 2015 06:47:31 +0000 (23:47 -0700)
commit0bda3e194438dd6801b863e7a9c23ca80a7cff05
tree570fd95b655df158a42764ace4ff4d266472babe
parent0aec7ac997b784dfc83125cd120d2bd5d3851eb6
mtd: fsmc_nand: fix handling of wait_for_completion_timeout return value

wait_for_completion_timeout does not return negative values so
result handling here does not need to check for negative return.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsmc_nand.c