diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2017-06-26 12:44:33 +1200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-06-27 21:50:21 +0200 |
commit | fa70ca7c287ee63b790fbb3de624a0c80a6e2be2 (patch) | |
tree | 29cbe94be74e4cf94e9d24a890bbe4d77e92ae32 /drivers/misc | |
parent | 0e8ce93bdceb6d36a3c1db2227d3f51168fb796c (diff) | |
download | lwn-fa70ca7c287ee63b790fbb3de624a0c80a6e2be2.tar.gz lwn-fa70ca7c287ee63b790fbb3de624a0c80a6e2be2.zip |
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions