From: Wolfram Sang Date: Fri, 14 Oct 2011 13:32:00 +0000 (+0200) Subject: gpio: pca953x: propagate the errno from the chip_init functions X-Git-Tag: v3.2-rc2~4^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=7ea2aa2046a15af1c048115e7c05f1ba1566899d;hp=7ea2aa2046a15af1c048115e7c05f1ba1566899d gpio: pca953x: propagate the errno from the chip_init functions Initializing the chips may return with an error, but this error gets dropped in probe(). Propagate this further to the driver core. Also, simplify returning the error in one of the init functions. Signed-off-by: Wolfram Sang Cc: Grant Likely Signed-off-by: Grant Likely ---