]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
device create: hwmon: 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:42 +0000 (21:54 -0700)
commit2871f55237e2aaa00fd724ce45b47e567974045f
tree59758a9d0e70615b015bdb79ccb97bfb8d7762f2
parent0fd15a18d876a9571cc5b88a5d1716dfccb8e493
device create: hwmon: 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: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/hwmon.c