mx31_3ds: Fix the logic for detecting the debug board

The function mxc_expio_init returns 0 on success, so fix the logic for
printing the error case.
Also fixed the wording on the error message.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Rogerio Pimentel 2010-10-25 12:54:24 -02:00 • committed by Sascha Hauer
commit b8be7b9a6d