> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Saturday, December 17, 2022 10:12 PM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Jes Sorensen <Jes.Sorensen@xxxxxxxxx>; Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Andrea Merello > <andrea.merello@xxxxxxxxx>; Taehee Yoo <ap420073@xxxxxxxxx> > Subject: [PATCH v3 1/5] wifi: rtl8xxxu: Deduplicate the efuse dumping code > > Every chip family except RTL8723AU has a copy of the efuse dumping > code. Remove this and dump the efuse from a single place using a new > function rtl8xxxu_dump_efuse(). > > Also, use print_hex_dump() to print the efuse instead of a loop and > dev_info(). It shows the ASCII interpretation of the bytes, which is > nice. > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > --- > v3: > - Implement suggestion from Ping-Ke Shih: > - Use EFUSE_MAP_LEN instead of EFUSE_REAL_CONTENT_LEN_8723A. > They have the same value. > > v2: > - Patch is new in v2. > --- > .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188f.c | 11 ----------- > .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c | 10 ---------- > .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 9 --------- > .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 11 ----------- > .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 13 +++++++++++++ > 5 files changed, 13 insertions(+), 41 deletions(-) > [...]