Commit 556c242045f0c1613aac2e64dc5b2ff0e4bc89e1

Authored by Arnd Bergmann
Committed by Lee Jones
1 parent 46f107d0cb

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/mfd/cros_ec_dev.c
... ... @@ -262,8 +262,6 @@
262 262 #endif
263 263 };
264 264  
265   -static void __remove(struct device *dev) { }
266   -
267 265 static void cros_ec_sensors_register(struct cros_ec_dev *ec)
268 266 {
269 267 /*