commit | 07125ab2c2641e976bbaf3b89a735ad5a99e25d3 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Dec 10 21:21:33 2006 +0100 |
committer | Jean Delvare <khali@arrakis.delvare> | Sun Dec 10 21:21:33 2006 +0100 |
tree | 21c463002783fdae90e6b54673de7582710d02a1 | |
parent | 3bacb36db01c7541ffea21d4ff39219e8b211a5c [diff] |
i2c: Refactor a kfree in i2c-dev Refactor kfree(i2c_dev) into return_i2c_dev(). This saves some code and makes more sense, as the memory is allocated in get_free_i2c_dev(). Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Greg Kroah-Hartman <gregkh@suse.de>