mtd: fsmc_nand: match wait_for_completion_timeout return type
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 13 Mar 2015 11:54:46 +0000 (07:54 -0400)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 May 2015 06:48:04 +0000 (23:48 -0700)
commit818a45b1d7fbd8c55a4248fe6cd0995e06db04be
tree5d03efb07b4e8a1e6c1622f45bc1b80155de24c2
parent0bda3e194438dd6801b863e7a9c23ca80a7cff05
mtd: fsmc_nand: match wait_for_completion_timeout return type

return type of wait_for_completion_timeout is unsigned long not int. An
appropriately named unsigned long is added and the assignment fixed up.
This not only should help readability but also handles corner cases
properly.

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