spi: Remove suspend and resume hooks from spi_driver_api
Drivers that implement power management should use the preferred device_pm_ops method instead. Change-Id: I337722b1e06afe8508b5c84c00c3542571232e07 Signed-off-by: Iván Briano <ivan.briano@intel.com>
This commit is contained in:
parent
bce65437c0
commit
fd8b0eaccb
6 changed files with 0 additions and 98 deletions
|
@ -894,17 +894,10 @@ void spi_k64_isr(void *arg)
|
|||
spi_k64_complete(dev, error);
|
||||
}
|
||||
|
||||
static int toberemoved(struct device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct spi_driver_api k64_spi_api = {
|
||||
.configure = spi_k64_configure,
|
||||
.slave_select = spi_k64_slave_select,
|
||||
.transceive = spi_k64_transceive,
|
||||
.suspend = toberemoved,
|
||||
.resume = toberemoved,
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue