On Fri, Sep 12, 2014 at 05:54:00PM +0300, Grygorii Strashko wrote: > static void davinci_spi_cleanup(struct spi_device *spi) > { > - if (spi->cs_gpio >= 0) > - gpio_free(spi->cs_gpio); > } This function is now empty so should be removed. I've applied for now but please send a followup fixing this.