summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2024-11-23 01:45:45 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-11-26 17:29:31 +0300
commit1e9614cd956268e10a669c0593e7e54d03d0c087 (patch)
treed268bfe550e3b6a26a6b10f9608b16f6a1b1a14e /drivers/cdx/controller/cdx_controller.c
parent3051a77a09dfe3022aa012071346937fdf059033 (diff)
downloadlinux-1e9614cd956268e10a669c0593e7e54d03d0c087.tar.xz
bnxt_en: Refactor bnxt_ptp_init()
Instead of passing the 2nd parameter phc_cfg to bnxt_ptp_init(). Store it in bp->ptp_cfg so that the caller doesn't need to know what the value should be. In the next patch, we'll need to call bnxt_ptp_init() in bnxt_resume() and this will make it easier. Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions