diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-03-22 00:07:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:53:56 -0800 |
commit | a7f3ea728b36aff520dff1611b3ce10cff46d8fe (patch) | |
tree | a3bd942d1e2a25529ecae24bdfb16f28a89fddf2 /init/do_mounts_initrd.c | |
parent | d0497614e0bd54f113041966532035edba463f8e (diff) | |
download | kernel_samsung_crespo-a7f3ea728b36aff520dff1611b3ce10cff46d8fe.zip kernel_samsung_crespo-a7f3ea728b36aff520dff1611b3ce10cff46d8fe.tar.gz kernel_samsung_crespo-a7f3ea728b36aff520dff1611b3ce10cff46d8fe.tar.bz2 |
[PATCH] dcdbas: convert to the new platform device interface
Do not use platform_device_register_simple() as it is going away, define
dcdbas_driver and implement ->probe() and ->remove() functions so manual
binding and unbinding will work with this driver.
Also switch to using attribute_group when creating sysfs attributes and
make sure to check and handle errors; explicitely remove attributes when
detaching driver.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions