/* This function is registered to the SPI framework for this SPI master controller. It will free the runtime state of chip.  */
static void pl022_cleanup(struct spi_device *spi)
/* This function is registered to the SPI framework for this SPI master controller. It will free the runtime state of chip.  */
static void pl022_cleanup(struct spi_device *spi)
{
	struct chip_data *chip = spi_get_ctldata(spi);
	spi_set_ctldata(spi, NULL);
	kfree(chip);
}