i2c: Do not give adapters a default parent
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:01:48 +0000 (18:01 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:01:48 +0000 (18:01 +0200)
commitc52cf01f5b35d77b2a918c319e22567de5c3c15f
tree98e4d0243219505a6bf0e148424c2822c7b3f1d0
parentfa1b2ca4fa271f9300a764b9d505a027156f749b
i2c: Do not give adapters a default parent

We don't need to give adapters a parent if they don't have one. The
driver core will put them in the virtual device directory and all will
be fine.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c