iio: m2k-logic-analyzer: use devm_add_action_or_reset() for disabling… · analogdevicesinc/linux@e55b829 · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: m2k-logic-analyzer: use devm_add_action_or_reset() for disabling clock
This change moves the clock disable (on error or reset) on the
devm_add_action_or_reset() logic/helper.
That way, the clock is disabled if there is an error during probe, and the
remove callback can be removed.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
0 commit comments