Commit 1f09c4b2 authored by Enric Balletbo i Serra's avatar Enric Balletbo i Serra Committed by Xie XiuQi
Browse files

mfd: cros_ec_dev: Add missing mfd_remove_devices() call in remove



[ Upstream commit 18e294dd ]

The driver adds different MFD child devices via mfd_add_devices() and
hence it is required to call mfd_remove_devices() to remove MFD child
devices.

Fixes: 5e011558 ("cros_ec: Move cros_ec_dev module to drivers/mfd")
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent faf4b9ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment