commit | f8a4bd3456b988fc73b2c291b9e01b434c8fa940 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Jun 04 00:54:43 2010 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Aug 05 13:53:34 2010 -0700 |
tree | 9e45a2c9a65fe87632dbcfde479aa456e6cae67a | |
parent | 0983ca2d0f0ff645bc86899aefb936cffb314839 [diff] |
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>