diff options
author | Kory Maincent | 2021-05-04 19:31:26 +0200 |
---|---|---|
committer | Tom Rini | 2021-05-13 13:09:09 -0400 |
commit | c9dffc971957e5fd18d64aa17a95e8d82a59d273 (patch) | |
tree | 287136ba55d66eeca44f3d7996ccc5544b8a0b30 /include/w1-eeprom.h | |
parent | 0705e25cd05a9772d1ae8de8debd3b424b03b59d (diff) |
w1: replace dt detection by automatic detection
This patch changes the functioning of the detection of w1 devices.
The old way was a comparison between detected w1 and the ones described in
the device tree. Now it will just look for the driver matching the family
id of the w1 detected.
The patch is inspired from Maxime Ripard code.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'include/w1-eeprom.h')
-rw-r--r-- | include/w1-eeprom.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/w1-eeprom.h b/include/w1-eeprom.h index 22337368b4b..b3cf77a81ef 100644 --- a/include/w1-eeprom.h +++ b/include/w1-eeprom.h @@ -27,7 +27,5 @@ int w1_eeprom_read_buf(struct udevice *dev, unsigned int offset, int w1_eeprom_dm_init(void); -int w1_eeprom_register_new_device(u64 id); - int w1_eeprom_get_id(struct udevice *dev, u64 *id); #endif |