Tag: 8247bcb998f2824f89da2eb5ec21f3e7d4fa66a5

staging: unisys: visorbus: Remove unnecessary dev_set_drvdata()

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