Skip to content
Commit 8ce24f89 authored by Dan Carpenter's avatar Dan Carpenter Committed by Lee Jones
Browse files

mfd: sm501: Fix leaks in probe()



This code should clean up if sm501_init_dev() fails.

Fixes: b6d6454f ("[PATCH] mfd: SM501 core driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 529a1101
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment