]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Free tps6586x allocated resources when unload the module
authorAxel Lin <axel.lin@gmail.com>
Tue, 24 Aug 2010 07:18:58 +0000 (15:18 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:28:53 +0000 (00:28 +0200)
commiteab525c26da2110a4bd2e58c5ce751bb08735b9b
treea20e81c0be2bddf9a2db6b6592a2f232a8642006
parent04133bb17cba567666cce6c31843ea45aef2e2de
mfd: Free tps6586x allocated resources when unload the module

For the resources allocated in tps6586x_i2c_probe(),
we need to free it in tps6586x_i2c_remove().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps6586x.c