[PATCH] Sonypi: convert to the new platform device interface
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 8 Jan 2006 09:04:22 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:03 +0000 (20:14 -0800)
commit44f061033360f9d4db7e9b29d64f9df3667cb41e
tree0c95fac1894e977a20c805ae679a525bfb78c8d5
parentfee781e6c25772db862d3322b4745a896022a4f1
[PATCH] Sonypi: convert to the new platform device interface

Do not use platform_device_register_simple() as it is going away, implement
->probe() and -remove() functions so manual binding and unbinding will work
with this driver.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Stelian Pop <stelian@popies.net>
Cc: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/sonypi.c