diff options
author | Michael Chan <michael.chan@broadcom.com> | 2025-03-10 21:31:28 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 12:25:22 +0300 |
commit | 1b64544d634c33605dd112fb7349188b4c305f61 (patch) | |
tree | e7e2de0d03bbdca2df3c646f31113b6cc41c631e /net/lapb/lapb_subr.c | |
parent | 17596d239f341b3ae4f32781c5d56bf28494709d (diff) | |
download | linux-1b64544d634c33605dd112fb7349188b4c305f61.tar.xz |
bnxt_en: Refactor bnxt_get_module_eeprom_by_page()
In preparation for adding .set_module_eeprom_by_page(), extract the
common error checking done in bnxt_get_module_eeprom_by_page() into
a new common function that can be re-used for
.set_module_eeprom_by_page().
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250310183129.3154117-7-michael.chan@broadcom.com
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions