This stops the tsc2301 driver from initializing dev->power.power_state. This field is apparently deprecated and overdue for removal. Signed-off-by: Klaus Pedersen <klaus.k.pedersen@xxxxxxxxx> --- drivers/spi/tsc2301-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/spi/tsc2301-core.c b/drivers/spi/tsc2301-core.c index 500c3dc..3980943 100644 --- a/drivers/spi/tsc2301-core.c +++ b/drivers/spi/tsc2301-core.c @@ -151,7 +151,6 @@ static int __devinit tsc2301_probe(struct spi_device *spi) dev_set_drvdata(&spi->dev, tsc); tsc->spi = spi; - spi->dev.power.power_state = PMSG_ON; tsc->enable_clock = pdata->enable_clock; tsc->disable_clock = pdata->disable_clock; -- 1.5.3.3 - To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html