Commit 6779fb10 authored by Enric Balletbo i Serra's avatar Enric Balletbo i Serra Committed by Greg Kroah-Hartman

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

Fixes: 5e011558 ("cros_ec: Move cros_ec_dev module to drivers/mfd")
Signed-off-by: 's avatarEnric Balletbo i Serra <>
Signed-off-by: 's avatarLee Jones <>
Signed-off-by: 's avatarSasha Levin <>
parent 19bd1d5f
......@@ -499,6 +499,7 @@ static int ec_device_remove(struct platform_device *pdev)
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment