git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: struct device - replace bus_id with dev_name(), dev_set_name()
[safe/jmp/linux-2.6]
/
drivers
/
input
/
touchscreen
/
tsc2007.c
diff --git
a/drivers/input/touchscreen/tsc2007.c
b/drivers/input/touchscreen/tsc2007.c
index
b75dc29
..
4ab0702
100644
(file)
--- a/
drivers/input/touchscreen/tsc2007.c
+++ b/
drivers/input/touchscreen/tsc2007.c
@@
-289,7
+289,8
@@
static int tsc2007_probe(struct i2c_client *client,
pdata->init_platform_hw();
- snprintf(ts->phys, sizeof(ts->phys), "%s/input0", client->dev.bus_id);
+ snprintf(ts->phys, sizeof(ts->phys),
+ "%s/input0", dev_name(&client->dev));
input_dev->name = "TSC2007 Touchscreen";
input_dev->phys = ts->phys;