Skip to content
Commit fa70ca7c authored by Chris Packham's avatar Chris Packham Committed by Wolfram Sang
Browse files

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: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
[wsa: adapted error handling I added in previous patch]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 0e8ce93b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment