1
0
Fork 0

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: 3aa2177e47 ("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>
hifive-unleashed-5.1
Arnd Bergmann 2018-06-08 16:48:06 +02:00 committed by Lee Jones
parent 46f107d0cb
commit 556c242045
1 changed files with 0 additions and 2 deletions

View File

@ -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)
{
/*