Re: [PATCH -next] clocksource/drivers/timer-gxp: Add missing error handling in gxp_timer_probe

From: Daniel Lezcano
Date: Tue Sep 20 2022 - 04:39:12 EST


On 14/09/2022 05:30, Lin Yujun wrote:
Add platform_device_put() to make sure to free the platform
device in the event platform_device_add() fails.

Fixes: 5184f4bf151b ("clocksource/drivers/timer-gxp: Add HPE GXP Timer")
Signed-off-by: Lin Yujun <linyujun809@xxxxxxxxxx>
---

Applied, thanks

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog