GPIO: pca953x: fix error reporting
authorLaurence Withers <lwithers@guralp.com>
Wed, 25 Jul 2012 03:55:48 +0000 (03:55 +0000)
committerTom Rini <trini@ti.com>
Mon, 8 Oct 2012 18:12:07 +0000 (11:12 -0700)
commit633efe9c2356be452ab79e964e3a83d78648a62c
treef476926d9d892058bcf455993574bb50f3baaa25
parentd75bc03f452f952dd3c997d3b524417dd614b58b
GPIO: pca953x: fix error reporting

Use the standard CMD_RET_* constants to clearly report errors from the
pca953x command. In addition, print error messages when I2C communication
fails.

Signed-off-by: Laurence Withers <lwithers@guralp.com>
drivers/gpio/pca953x.c