]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: vectorize the sma accessor functions
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 19 May 2022 21:21:50 +0000 (14:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 May 2022 18:39:54 +0000 (11:39 -0700)
commit09bfb6de3069108625df0f3c74b678085f07937c
treef5a5156428313424679037d730cd7a56d84f82be
parente198f7680b61d8bb3328a6f6003287f0afa3c2a6
ptp: ocp: vectorize the sma accessor functions

Move the SMA get and set functions into an operations vector for
different boards.

Create wrappers for the accessor functions.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c