]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-mux-pinctrl: Fix probe error path
authorGuenter Roeck <linux@roeck-us.net>
Sun, 11 Nov 2012 22:51:28 +0000 (09:51 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 11 Nov 2012 22:51:28 +0000 (09:51 +1100)
commit918458dc59342d4b2be7986595b4848f2d5a1efa
treecfa5586f250ac1349fab994b8a8941a2e9eeb683
parenta948d78949759751ac6829ff69172b69ec7ac914
i2c-mux-pinctrl: Fix probe error path

When allocating the memory for i2c busses, the code checked the wrong
variable and thus never detected if there was a memory error.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/muxes/i2c-mux-pinctrl.c