[PATCH] hwmon: (aspeed-g6-pwm-tach): fix driver data handling in probe/remove
Billy Tsai
billy_tsai at aspeedtech.com
Mon Mar 9 12:40:04 AEDT 2026
Hi Guenter,
You’re right—the probe path already registers a devres action (devm_add_action_or_reset()) to call aspeed_pwm_tach_reset_assert(). Therefore, there is no need to perform this again. We can simply remove the remove callback, since all resources are already managed by the devm_* APIs.
Thanks
More information about the Linux-aspeed
mailing list