瀏覽代碼

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>
Arnd Bergmann 7 年之前
父節點
當前提交
556c242045
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/mfd/cros_ec_dev.c

+ 0 - 2
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)
 {
 	/*