Tag: fad2564eaa350368d95be2b7f0c832541dc9d09a

staging: sm750fb: Remove unnecessary pci_set_drvdata()

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Unnecessary pci_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 …

Continue reading