firmware loader: rely on driver core to create class attribute
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 14 Mar 2010 07:49:13 +0000 (23:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:30 +0000 (09:37 -0700)
commit673fae90d5ee4ae2b6403f9d45af7ff640f06a60
tree62b2782e9e6b9e02bd6048ec34b16b76001ed602
parente9045f9178f3e3445a3a5b85206f8681b3869562
firmware loader: rely on driver core to create class attribute

Do not create 'timeout' attribute manually, let driver core do it for us.
This also ensures that attribute is cleaned up properly.

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