]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
device create: macintosh: convert device_create to device_create_drvdata
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 May 2008 19:52:33 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:43 +0000 (21:54 -0700)
commit97cd790e3a9cf2855676a461ac5c448f5843017d
tree53d59a64ec1ce983fcc15f37640a2b6a22f94a5b
parent24d0b416f988fcdfa2615a25c7c33c21cc2a65a9
device create: macintosh: convert device_create to device_create_drvdata

device_create() is race-prone, so use the race-free
device_create_drvdata() instead as device_create() is going away.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/macintosh/adb.c