mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: rtl8723bs: remove unused EEPROM definitions
@ 2026-10-07  1:35 Iñaki Sobera Sotomayor
  2026-10-07  1:35 ` [PATCH 2/2] staging: rtl8723bs: remove unused PCI ASPM OSC definitions Iñaki Sobera Sotomayor
  0 siblings, 1 reply; 2+ messages in thread
From: Iñaki Sobera Sotomayor @ 2026-10-07  1:35 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-staging, linux-kernel, Iñaki Sobera Sotomayor

RTL8712_EEPROM_ID, HWSET_MAX_SIZE_128, HWSET_MAX_SIZE_256, CLOCK_RATE
and the EEPROM_*_OPCODE macros are leftovers from the original vendor
driver. None of them is referenced anywhere in the tree, so drop them.

HWSET_MAX_SIZE_512 is left in place because EEPROM_MAX_SIZE expands to
it.

No functional change intended.

Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com>
---
 drivers/staging/rtl8723bs/include/rtw_eeprom.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_eeprom.h b/drivers/staging/rtl8723bs/include/rtw_eeprom.h
index 4294b021f1b..92eea3e2e70 100644
--- a/drivers/staging/rtl8723bs/include/rtw_eeprom.h
+++ b/drivers/staging/rtl8723bs/include/rtw_eeprom.h
@@ -8,24 +8,12 @@
 #define __RTW_EEPROM_H__
 
 
-#define	RTL8712_EEPROM_ID			0x8712
 /* define	EEPROM_MAX_SIZE			256 */
 
-#define	HWSET_MAX_SIZE_128		128
-#define	HWSET_MAX_SIZE_256		256
 #define	HWSET_MAX_SIZE_512		512
 
 #define	EEPROM_MAX_SIZE			HWSET_MAX_SIZE_512
 
-#define	CLOCK_RATE					50			/* 100us */
-
-/*  EEPROM opcodes */
-#define EEPROM_READ_OPCODE		06
-#define EEPROM_WRITE_OPCODE		05
-#define EEPROM_ERASE_OPCODE		07
-#define EEPROM_EWEN_OPCODE		19      /*  Erase/write enable */
-#define EEPROM_EWDS_OPCODE		16      /*  Erase/write disable */
-
 /* Country codes */
 #define USA							0x555320
 #define EUROPE						0x1 /* temp, should be provided later */
-- 
2.56.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-07  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07  1:35 [PATCH 1/2] staging: rtl8723bs: remove unused EEPROM definitions Iñaki Sobera Sotomayor
2026-10-07  1:35 ` [PATCH 2/2] staging: rtl8723bs: remove unused PCI ASPM OSC definitions Iñaki Sobera Sotomayor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®