forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ptp: ocp: vectorize the sma accessor functions
Move the SMA get and set functions into an operations vector for different boards. Create inline wrappers for the accessor functions. Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
- Loading branch information
1 parent
17f12ef
commit 9bcda14
Showing
1 changed file
with
112 additions
and
87 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