Skip to content
Commit 0414a100 authored by Yang Yingliang's avatar Yang Yingliang Committed by Tony Lindgren
Browse files

ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()



If platform_device_add() is not called or failed, it should call
platform_device_put() in error case.

Fixes: 97933d6c ("ARM: OMAP1: dmtimer: conversion to platform devices")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Message-Id: <20220701094602.2365099-1-yangyingliang@huawei.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1b929c02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment