From: Dmitry Torokhov Date: Fri, 4 Jun 2010 07:54:43 +0000 (-0700) Subject: firmware loader: embed device into firmware_priv structure X-Git-Tag: v2.6.36-rc1~521^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a4bd3456b988fc73b2c291b9e01b434c8fa940;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed