Skip to content
Commit 0c5dc500 authored by Guiting Shen's avatar Guiting Shen Committed by Lee Jones
Browse files

mfd: Remove redundant dev_set_drvdata() from I2C drivers



the i2c_set_clientdata() is the inline function which is complemented by
the dev_set_drvdata() internally. Do not need to use i2c_set_clientdata()
and dev_set_drvdata() at the same time.

Signed-off-by: default avatarGuiting Shen <aarongt.shen@gmail.com>
Reviewed-by: default avatarJohan Hovold <johan@kernel.org>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230425024526.6443-1-aarongt.shen@gmail.com
parent df2aac15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment