]> err.no Git - linux-2.6/commit
device create: spi: convert device_create to device_create_drvdata
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 6 Jun 2008 20:48:07 +0000 (15:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:45 +0000 (21:54 -0700)
commit3d81252ddb10f63ae4db713d9b32faabe641b850
tree68ea05d6aebdffaef2fe25c5462c096f88bf8f67
parent89409211ff97bf82295d1fb98ab18302a03e9199
device create: spi: convert device_create to device_create_drvdata

Switch over to use the shiny new device_create_drvdata() call
instead of the original device_create() calls, so this continues
to work after device_create() is  removed.

Note that this driver never had the race which motivated removing
the original call; it locked correctly.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/spi/spidev.c