]> err.no Git - linux-2.6/commit
device create: i2c: 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)
commit1cc4376c259d1950817aaa6221aad7c2058df4a8
tree0f9ebd33dc58cc1c62974d83cc581f3fa86eeb86
parent2871f55237e2aaa00fd724ce45b47e567974045f
device create: i2c: 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: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-dev.c