[PATCH v1 0/3] misc: pch_phub: Fix fallout and more cleanup

Uwe Kleine-König (The Capable Hub) posted 3 patches 1 week, 6 days ago
drivers/misc/pch_phub.c | 59 ++++++++++++++---------------------------
1 file changed, 20 insertions(+), 39 deletions(-)
[PATCH v1 0/3] misc: pch_phub: Fix fallout and more cleanup
Posted by Uwe Kleine-König (The Capable Hub) 1 week, 6 days ago
Hello,

Sashiko found a relevant issue in the patch that became 7b1d4ad96ea4
("misc: pch_phub: Introduce an enum for device indentification"). This
is fixed in the first patch.

The second patch is a follow-up to commit d14b649fd99f ("misc: pch_phub:
Drop two unused functions") that drops now unused struct members.

The third patch fixes an inconsistency in device handling. The comment
suggest that ML7213 isn't handled, the code just falls back in the else
branch for it. Make variant handling more explicit using a switch
statement. If a new device is added without adapting
pch_phub_write_gbe_mac_addr() a compiler warning is triggered.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (3):
  misc: pch_phub: Complete enum usage for device identification
  misc: pch_phub: Drop unused members from struct pch_phub_reg
  misc: pch_phub: Make MAC address configuration more robust

 drivers/misc/pch_phub.c | 59 ++++++++++++++---------------------------
 1 file changed, 20 insertions(+), 39 deletions(-)


base-commit: 7b1d4ad96ea47b3275328fa385d0497e164f1f5f
-- 
2.47.3