static int cs9711_runtime_suspend(struct device *dev) struct cs9711_dev *priv = dev_get_drvdata(dev); cs9711_send_cmd(priv, CMD_SLEEP, NULL, 0); priv->sleeping = true; return 0;