Tag: 71e03f10384c16887d5dd32c6b1e7006b09ec592

staging: fbtft: Remove unnecessary spi_set_drvdata()

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Unnecessary spi_set_drvdata() has been removed since the driver core clears the driver data to NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL. The Coccinelle semantic patch used to make this change is as follows: @@ struct spi_device …

Continue reading