diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2026-08-21 22:10:25 +0100 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-08-23 21:23:57 +0200 |
| commit | 6e0d7d480f2df83dba82e2fa8f6cd453e9a8326f (patch) | |
| tree | 6ae9bfe317e05a62ab909084d184929e7919ee76 /scripts/objdiff | |
| parent | ea0ef2e7f83be647be114d8cfaf701a5146eaa90 (diff) | |
| download | linux-next-6e0d7d480f2df83dba82e2fa8f6cd453e9a8326f.tar.gz linux-next-6e0d7d480f2df83dba82e2fa8f6cd453e9a8326f.zip | |
rtc: rzn1: Replace remove callback with devm_add_action_or_reset()
Simplify the driver teardown by registering a managed cleanup action with
devm_add_action_or_reset(). This eliminates the explicit probe error path
and allows the .remove() callback to be dropped.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://patch.msgid.link/20260821211032.13554-11-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
