Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a604e5b2 authored by Wolfram Sang's avatar Wolfram Sang Committed by Lee Jones
Browse files

mfd: tps80031: Convert to devm_i2c_new_dummy_device



Move from i2c_new_dummy() to devm_i2c_new_dummy_device(). So, we now get
an ERRPTR which we use in error handling and we can skip removal of the
created devices.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 624e3fce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment