summaryrefslogtreecommitdiff
path: root/include/clocksource
diff options
context:
space:
mode:
authorLin Yujun <linyujun809@huawei.com>2022-09-14 11:30:18 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-09-20 10:49:45 +0200
commit0e2c8e6d769bcdc4f6634a02c545356282275e68 (patch)
treea12de5d0c68beb96b6a2057b9954c227f36b4796 /include/clocksource
parent6c3b62d93e195f78c1437c8fa7581e9b2f00886e (diff)
clocksource/drivers/timer-gxp: Add missing error handling in gxp_timer_probe
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@huawei.com> Link: https://lore.kernel.org/r/20220914033018.97484-1-linyujun809@huawei.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions