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 /include | |
parent | d0497614e0bd54f113041966532035edba463f8e (diff) |
[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 'include')
0 files changed, 0 insertions, 0 deletions