aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2010-06-04 07:54:43 +0000
committerGreg Kroah-Hartman <[email protected]>2010-08-05 20:53:34 +0000
commitf8a4bd3456b988fc73b2c291b9e01b434c8fa940 (patch)
tree9e45a2c9a65fe87632dbcfde479aa456e6cae67a /drivers/base/platform.c
parentfirmware loader: use statically initialized data attribute (diff)
downloadkernel-f8a4bd3456b988fc73b2c291b9e01b434c8fa940.tar.gz
kernel-f8a4bd3456b988fc73b2c291b9e01b434c8fa940.zip
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]>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions