i2c: i2c-mux-gpio: don't ignore of_get_named_gpio errors
authorIonut Nicu <ioan.nicu.ext@nsn.com>
Tue, 8 Oct 2013 13:51:53 +0000 (15:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:32 +0000 (10:22 +0200)
commit492ed77bfadb968cca7beca348cd45b444393cd4
tree9d18d3e49cbba8de05e61e0c70e0bc4446f9ca82
parent4cdbf7d346e7461c3b93a26707c852e2c9db3753
i2c: i2c-mux-gpio: don't ignore of_get_named_gpio errors

of_get_named_gpio could return -E_PROBE_DEFER or another
error code. This error should be passed further instead
of being ignored.

Signed-off-by: Ionut Nicu <ioan.nicu.ext@nsn.com>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-gpio.c