]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
device create: mtd: 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:44 +0000 (21:54 -0700)
commitdaea34bc6f67cf3872d1b52ba5ccf249f3ceb176
tree8b306ee9581985c248a47eb85e530393dfcd2831
parent7da5a05dd7b95315af49f724f623bbfdab0f5e4d
device create: mtd: 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: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/mtdchar.c