diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-06-06 15:48:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 21:54:45 -0700 |
commit | 3d81252ddb10f63ae4db713d9b32faabe641b850 (patch) | |
tree | 68ea05d6aebdffaef2fe25c5462c096f88bf8f67 /drivers/usb/gadget/printer.c | |
parent | 89409211ff97bf82295d1fb98ab18302a03e9199 (diff) | |
download | op-kernel-dev-3d81252ddb10f63ae4db713d9b32faabe641b850.zip op-kernel-dev-3d81252ddb10f63ae4db713d9b32faabe641b850.tar.gz |
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>
Diffstat (limited to 'drivers/usb/gadget/printer.c')
0 files changed, 0 insertions, 0 deletions