Rewrite a series of goto statements as a sequences of
authorJon Loeliger <jdl@freescale.com>
Thu, 19 Oct 2006 17:02:24 +0000 (12:02 -0500)
committerJon Loeliger <jdl@freescale.com>
Thu, 19 Oct 2006 17:02:24 +0000 (12:02 -0500)
commit4d45f69e362b05892c9e92a7907e5820995612aa
tree789e76a928bbb1d46fc53c7f3d490f6a2715092b
parent7237c033b02fe295880435f1eb80819a0c987532
Rewrite a series of goto statements as a sequences of
conditional expressions instead.

Use consistent return code 0/-1 for good/bad indicators.

Include one fewer file if the driver isn't used at all.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
drivers/fsl_i2c.c