Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment