]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i2c-mux-pinctrl: Fix probe error path
authorGuenter Roeck <linux@roeck-us.net>
Tue, 13 Nov 2012 21:27:19 +0000 (22:27 +0100)
committerJean Delvare <khali@endymion.delvare>
Tue, 13 Nov 2012 21:27:19 +0000 (22:27 +0100)
commitaa1e3e81e75ceb3d977c3292cefafcd5179eb8b8
tree6cfef3a9b0c4f6a8f11aaa3199ba704e7c4dd605
parentd85c8a6ab2bb0ba067a2a72c63c3bd20e6788996
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