Skip to content

Commit

Permalink
firmware loader: embed device into firmware_priv structure
Browse files Browse the repository at this point in the history
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
dtor authored and gregkh committed Aug 5, 2010
1 parent 0983ca2 commit f8a4bd3
Showing 1 changed file with 122 additions and 133 deletions.
Loading

0 comments on commit f8a4bd3

Please sign in to comment.