X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d1f333874d4c4ff3f4a27ec3eb08d3f7ca6d8e43..377e161817125435a140272279f7ab1df6e787c5:/target/linux/ar71xx/files/drivers/spi/spi_rb4xx_cpld.c diff --git a/target/linux/ar71xx/files/drivers/spi/spi_rb4xx_cpld.c b/target/linux/ar71xx/files/drivers/spi/spi_rb4xx_cpld.c index 8b34c1b23..c0040a3e6 100644 --- a/target/linux/ar71xx/files/drivers/spi/spi_rb4xx_cpld.c +++ b/target/linux/ar71xx/files/drivers/spi/spi_rb4xx_cpld.c @@ -393,7 +393,7 @@ static int __devinit rb4xx_cpld_probe(struct spi_device *spi) return 0; - err_drvdata: +err_drvdata: dev_set_drvdata(&spi->dev, NULL); kfree(cpld);