commit | cc4618813e4bc409cd22641f6001118ef4479cfc | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Jul 09 13:32:23 2016 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jul 14 21:21:56 2016 +0900 |
tree | 878b151e216af1b63434713090a4b38c94c58e41 | |
parent | 9f6db9bfb58e0008c0d041d69cef3bcb6247dc52 [diff] |
i2c: versatile: Convert to use resource managed devm_* APIs Use devm_* APIs to simplify the code a bit. This patch also fixes the memory leak when unload the module. Signed-off-by: Axel Lin <axel.lin@ingics.com> Tested-by: Liviu Dudau <Liviu.Dudau@arm.com> Acked-by: Liviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>