diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-26 00:15:30 -0700 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-21 09:36:48 -0400 |
commit | c64eefd48c44fa8145ad1f96edabf4a053fffc49 (patch) | |
tree | 6956b6d86c7253d1cd52233c3818d3041787405b /kernel/latencytop.c | |
parent | 614ef4322200086447d5e1f79e8876213c94f499 (diff) | |
download | kernel_samsung_smdk4412-c64eefd48c44fa8145ad1f96edabf4a053fffc49.zip kernel_samsung_smdk4412-c64eefd48c44fa8145ad1f96edabf4a053fffc49.tar.gz kernel_samsung_smdk4412-c64eefd48c44fa8145ad1f96edabf4a053fffc49.tar.bz2 |
WMI: embed struct device directly into wmi_block
Instead of creating wmi_blocks and then register corresponding devices
on a separate pass do it all in one shot, since lifetime rules for both
objects are the same. This also takes care of leaking devices when
device_create fails for one of them.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions