]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mfd: Fix incorrect kfree(i2c) in wm831x-core i2c_driver probe
authorAxel Lin <axel.lin@gmail.com>
Mon, 9 Aug 2010 06:51:15 +0000 (14:51 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:28:13 +0000 (11:28 +0200)
commita2cddb6e416721cfe07770c264100607997fd8cb
tree1af3f3ee0795677f87766e9f51f91f32f2096eaf
parent04a064236da3d8db24232983f99cfcfa5a4e5ade
mfd: Fix incorrect kfree(i2c) in wm831x-core i2c_driver probe

The i2c_client received in probe() should not be kfree()'d.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c