]> bbs.cooldavid.org Git - net-next-2.6.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)
commit4b751cf5de975a91246110f3da1299f9e466646d
treea20e81c0be2bddf9a2db6b6592a2f232a8642006
parente7944d820b1e13a5b17c3047e033bf744bcf01f1
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