[PATCH 1/2] Revert "mfd: cros_ec: Remove unused __remove function"

From: Dmitry Torokhov
Date: Wed Jun 20 2018 - 17:30:45 EST


This reverts commit 556c242045f0c1613aac2e64dc5b2ff0e4bc89e1.

The patch that this change is purported to fix is broken and should be
reverted; thus we reverting this one as well.
---

Lee,

I see the broken code is already in Linus' tree, so please merge send
it on at your earliest convenience.

Thanks,
Dmitry


drivers/mfd/cros_ec_dev.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c
index 306e1fd109bd..4b1dbe81fcb6 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -262,6 +262,8 @@ static const struct file_operations fops = {
#endif
};

+static void __remove(struct device *dev) { }
+
static void cros_ec_sensors_register(struct cros_ec_dev *ec)
{
/*
--
2.18.0.rc1.244.gcf134e6275-goog