summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-06-08 16:48:06 +0200
committerLee Jones <lee.jones@linaro.org>2018-06-11 09:11:12 +0100
commit556c242045f0c1613aac2e64dc5b2ff0e4bc89e1 (patch)
tree28e116f40766c73dab516cd57c72896237bd4863
parent46f107d0cb22b3f2b23d7fc7c50757f453a36508 (diff)
mfd: cros_ec: Remove unused __remove function
This function is no longer called, so we get a harmless warning until it is removed as well: drivers/mfd/cros_ec_dev.c:265:13: error: '__remove' defined but not used [-Werror=unused-function] Fixes: 3aa2177e4787 ("mfd: cros_ec: Use devm_kzalloc for private data") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/cros_ec_dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c
index dfc9f131aabe..4199cdd4ff89 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -262,8 +262,6 @@ static const struct file_operations fops = {
#endif
};
-static void __remove(struct device *dev) { }
-
static void cros_ec_sensors_register(struct cros_ec_dev *ec)
{
/*