summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2026-05-06 23:43:00 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-06-29 11:27:15 +0200
commiteacaf5ae747f7dead6cc268de17a7382d79031fc (patch)
treee9244ffb5382f482d02e02000f87e2b0977adecb /scripts
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-eacaf5ae747f7dead6cc268de17a7382d79031fc.tar.gz
linux-eacaf5ae747f7dead6cc268de17a7382d79031fc.zip
MIPS: DEC: Ensure RTC platform device deregistration upon failure
Switch RTC platform device registration from platform_device_register() to platform_add_devices() so as to make sure any failure will result in automatic device unregistration. Fixes: fae67ad43114 ("arch/mips/dec: switch DECstation systems to rtc-cmos") Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk> Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions