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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.