commit | fa70ca7c287ee63b790fbb3de624a0c80a6e2be2 | [log] [tgz] |
---|---|---|
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | Mon Jun 26 12:44:33 2017 +1200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Jun 27 21:50:21 2017 +0200 |
tree | 29cbe94be74e4cf94e9d24a890bbe4d77e92ae32 | |
parent | 0e8ce93bdceb6d36a3c1db2227d3f51168fb796c [diff] |
i2c: pca-platform: use device managed allocations Switch to using the devm_ APIs and remove the now unnecessary error handling and most of the device removal code. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> [wsa: adapted error handling I added in previous patch] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>