]> git.sur5r.net Git - u-boot/commit
fpga: altera: Make altera_validate return normal values
authorMarek Vasut <marex@denx.de>
Tue, 16 Sep 2014 18:33:54 +0000 (20:33 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 15:31:42 +0000 (17:31 +0200)
commitfda915a4cf171f4ef3077adbc7bc1680a140b0d6
tree7f29dcb98d2ee32eacfc2f02b396c9ad6d56c62d
parent54c96b18a22a6ee5d5a67c057ed5d3812ac16b39
fpga: altera: Make altera_validate return normal values

Make the function return either 0 or -EINVAL, that is, normal
expected error codes and success codes instead of true/false
nonsense.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
drivers/fpga/altera.c