summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDmitry Torokhov2009-12-30 05:11:20 +0100
committerGreg Kroah-Hartman2010-03-08 02:04:46 +0100
commitecdf6ceb8cf4756bd4214bf9755755752b6015f5 (patch)
tree828af56bdfe60396e77bbc05f28e231ffe70fe9b /security
parentkset-example: Spelling fixes. (diff)
downloadkernel-qcow2-linux-ecdf6ceb8cf4756bd4214bf9755755752b6015f5.tar.gz
kernel-qcow2-linux-ecdf6ceb8cf4756bd4214bf9755755752b6015f5.tar.xz
kernel-qcow2-linux-ecdf6ceb8cf4756bd4214bf9755755752b6015f5.zip
Driver core: add platform_create_bundle() helper
Many legacy-style module create singleton platform devices themselves, along with corresponding platform driver. Instead of replicating error handling code in all such drivers, provide a helper that allocates and registers a single platform device and a driver and binds them together. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions