diff options
author | Arnd Bergmann <[email protected]> | 2023-01-24 21:33:23 +0100 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2023-01-24 21:33:23 +0100 |
commit | e62f40452d1f0284facda0cf1e47fc6a25e3be78 (patch) | |
tree | c1b750fe8a8406f857810830cbaa9012f9655dda | |
parent | fc939b172eaf31970c16789ec00fe2a45c0c584d (diff) | |
parent | 0414a100d6ab32721efa70ab55524540fdfe0ede (diff) |
Merge tag 'omap-for-v6.3/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/soc
One clean-up for omap1 for v6.3
One non-urgent change to use platform_device_put() instead of
platform_device_unregister().
* tag 'omap-for-v6.3/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
-rw-r--r-- | arch/arm/mach-omap1/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/timer.c b/arch/arm/mach-omap1/timer.c index f5cd4bbf7566..81a912c1145a 100644 --- a/arch/arm/mach-omap1/timer.c +++ b/arch/arm/mach-omap1/timer.c @@ -158,7 +158,7 @@ err_free_pdata: kfree(pdata); err_free_pdev: - platform_device_unregister(pdev); + platform_device_put(pdev); return ret; } |