summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2007.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-29 22:56:08 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-01-29 23:00:44 -0800
commit4e8718a1f960db0c48427f4583f89f4cb62f2480 (patch)
tree244ca94c4639e94257b7c75c62d37783174ebb12 /drivers/input/touchscreen/tsc2007.c
parente8e0c02340f2d3e4f1ea75a136883d8797290929 (diff)
downloadop-kernel-dev-4e8718a1f960db0c48427f4583f89f4cb62f2480.zip
op-kernel-dev-4e8718a1f960db0c48427f4583f89f4cb62f2480.tar.gz
Input: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/tsc2007.c')
-rw-r--r--drivers/input/touchscreen/tsc2007.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index b75dc29..4ab0702 100644
--- 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;
OpenPOWER on IntegriCloud