firmware loader: do not allocate firmare id separately
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 14 Mar 2010 07:49:23 +0000 (23:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:30 +0000 (09:37 -0700)
commite177123f0c2d77ed2fde724ca352166ca9464619
tree4028292609b20e1d65eb2f8ff9e6e5be608a04c9
parentbcb9bd18e397eabe14b45f4dc4283359ab148d79
firmware loader: do not allocate firmare id separately

fw_id has the same life time as firmware_priv so it makes sense to move
it into firmware_priv structure instead of allocating separately.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/firmware_class.c