[RFC PATCH v3 4/6] mfd: cros ec: spi: remove unconditionally wakeup enable

From: Jeffy Chen
Date: Wed Jun 21 2017 - 06:04:20 EST


We used to enable wakeup for cros-ec-spi devices unconditionally.
Now we are using the more generic wakeup-source property to enable it.

Signed-off-by: Jeffy Chen <jeffy.chen@xxxxxxxxxxxxxx>
---

Changes in v3: None

drivers/mfd/cros_ec_spi.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c
index c971407..0be7051 100644
--- a/drivers/mfd/cros_ec_spi.c
+++ b/drivers/mfd/cros_ec_spi.c
@@ -674,8 +674,6 @@ static int cros_ec_spi_probe(struct spi_device *spi)
return err;
}

- device_init_wakeup(&spi->dev, true);
-
return 0;
}

--
2.1.4