]> git.baikalelectronics.ru Git - kernel.git/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)
commit7c859e9235f5158b377974a07dd761ecb3275ce6
tree68ea05d6aebdffaef2fe25c5462c096f88bf8f67
parentee7a6855dbb5f6f14616be99b82487a7cb48c268
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