diff options
author | Michael Chan <michael.chan@broadcom.com> | 2024-11-22 14:45:45 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-11-26 15:29:31 +0100 |
commit | 1e9614cd956268e10a669c0593e7e54d03d0c087 (patch) | |
tree | d268bfe550e3b6a26a6b10f9608b16f6a1b1a14e /tools/perf/scripts/python | |
parent | 3051a77a09dfe3022aa012071346937fdf059033 (diff) | |
download | linux-1e9614cd956268e10a669c0593e7e54d03d0c087.tar.gz linux-1e9614cd956268e10a669c0593e7e54d03d0c087.tar.bz2 linux-1e9614cd956268e10a669c0593e7e54d03d0c087.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions