Kept the exit_w1_remove path as requested in the review. Signed-off-by: Kryštof Černý <cleverline1mc@xxxxxxxxx> --- Changes in v6: - Returned the exit_w1_remove path in the probe function - Link to v5: https://lore.kernel.org/r/20241129-ds2482-add-reg-v5-0-af8e83d41344@xxxxxxxxx Changes in v5: - Refactored the driver to use devm_kzalloc() instead of kzalloc() - Link to v4: https://lore.kernel.org/r/20241125-ds2482-add-reg-v4-0-475a7a08df96@xxxxxxxxx Changes in v4: - Using dev_err_probe() instead of dev_err() for the regulator error. - Corrected patch order. - Link to v3: https://lore.kernel.org/r/20241124-ds2482-add-reg-v3-0-806df39c9454@xxxxxxxxx Changes in v3: - Switched from regulator_enable() to devm_regulator_get_enable() - Removed obvious comments. - Link to v2: https://lore.kernel.org/r/20241122-ds2482-add-reg-v2-0-a5a03ee74da7@xxxxxxxxx Changes in v2: - Removed property description - Changed commit message of binding commit - Link to v1: https://lore.kernel.org/r/20241115-ds2482-add-reg-v1-0-cc84b9aba126@xxxxxxxxx --- Kryštof Černý (4): dt-bindings: w1: ds2482: Add vcc-supply property w1: ds2482: switch to devm_kzalloc() from kzalloc() w1: ds2482: Add regulator support w1: ds2482: Fix datasheet URL .../devicetree/bindings/w1/maxim,ds2482.yaml | 2 ++ drivers/w1/masters/ds2482.c | 26 ++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) --- base-commit: 6d59cab07b8d74d0f0422b750038123334f6ecc2 change-id: 20241111-ds2482-add-reg-fe13200ad7d6 Best regards, -- Kryštof Černý <cleverline1mc@xxxxxxxxx>