Searched hist:"34 c76a51205a32f2665cc2ef1247b4408187d4f0" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | ltc2991.c | diff 34c76a51205a32f2665cc2ef1247b4408187d4f0 Tue Oct 31 10:56:46 CET 2023 Antoniu Miclaus <antoniu.miclaus@analog.com> 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: Antoniu Miclaus <antoniu.miclaus@analog.com> Link: https://lore.kernel.org/r/20231031095647.48376-1-antoniu.miclaus@analog.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|