-
Notifications
You must be signed in to change notification settings - Fork 845
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: ad9361: Add a helper function to get the number of PHY channels
We have the same pattern to get the number of PHY channels in a few places. Add a helper function to replace the duplicated logic. Signed-off-by: Lars-Peter Clausen <[email protected]>
- Loading branch information
1 parent
934a4d9
commit c34fb4c
Showing
1 changed file
with
11 additions
and
7 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