i2c: Merge i2c_attach_client into i2c_new_device
authorJean Delvare <khali@linux-fr.org>
Fri, 19 Jun 2009 14:58:18 +0000 (16:58 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 19 Jun 2009 14:58:18 +0000 (16:58 +0200)
commitf8a227e8ac19c2d3e189833b8518b1805d9b443c
treea91820559161ded1ddceed18387a451b9f7d8cb9
parent36789b5ea52bba961122b45f4383f553ec3b5a6c
i2c: Merge i2c_attach_client into i2c_new_device

Now that i2c_attach_client is no longer exported, it doesn't need to
be a separate function. Merge it into its only user, i2c_new_device.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
drivers/i2c/i2c-core.c