i2c: at91: fixup return type of wait_for_completion_timeout
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Feb 2015 16:12:07 +0000 (11:12 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:54:08 +0000 (10:54 +0100)
commit1c42aca54fa0e738d9f0c0e5aa952d0e4357dcf0
tree2c16f8077a7def4ae88e5bc5718cd22587fc5209
parent2abaccb356a857dbf4c978a69f2209e19c1a0db3
i2c: at91: fixup return type of wait_for_completion_timeout

Return type of wait_for_completion_timeout is unsigned long not int. This
patch adds a timeout variable of appropriate type and fixes up the assignment.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-at91.c