-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters