Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware loader: embed device into firmware_priv structure
Both these structures have the same lifetime rules so instead of allocating and managing them separately embed struct device into struct firmware_priv. Also make sure to delete sysfs attributes ourselves instead of expecting sysfs to clean up our mess. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information