Skip to content

Commit f8a4bd3

Browse files
dtorgregkh
authored andcommitted
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 <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 0983ca2 commit f8a4bd3

1 file changed

Lines changed: 122 additions & 133 deletions

File tree

0 commit comments

Comments
 (0)