Commit 34c76a51 authored by Antoniu Miclaus's avatar Antoniu Miclaus Committed by Guenter Roeck
Browse files

hwmon: (ltc2991) remove device reference from state



Remove device reference from struct ltc2991_state since it is used only
inside the init function.

Pass the struct device as parameter to the init function instead.

Signed-off-by: default avatarAntoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20231031095647.48376-1-antoniu.miclaus@analog.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 89fec128
Supports Markdown
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