summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-s3c2410.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-01-07 14:29:16 +0100
committerJean Delvare <khali@linux-fr.org>2009-01-07 14:29:16 +0100
commit22e965c2aeb3e636831c8b28f9d7d8e25199891e (patch)
tree8a8919ba1c7db4faf5c7df5f5358dab948a034c1 /drivers/i2c/busses/i2c-s3c2410.c
parent27d9c1838f65cc5a48d7a3e9aed85271e7a2bec8 (diff)
downloadlinux-3.10-22e965c2aeb3e636831c8b28f9d7d8e25199891e.tar.gz
linux-3.10-22e965c2aeb3e636831c8b28f9d7d8e25199891e.tar.bz2
linux-3.10-22e965c2aeb3e636831c8b28f9d7d8e25199891e.zip
i2c: Get rid of remaining bus_id access
Use dev_name(dev) instead of accessing dev.bus_id directly, as the latter is going away soon. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index f69f91ffb46..5b7f95641ba 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -906,7 +906,7 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, i2c);
- dev_info(&pdev->dev, "%s: S3C I2C adapter\n", i2c->adap.dev.bus_id);
+ dev_info(&pdev->dev, "%s: S3C I2C adapter\n", dev_name(&i2c->adap.dev));
return 0;
err_cpufreq: