mfd: input: ti_am335x_tsc: rename device from tsc to TI-am335x-tsc
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 27 May 2013 15:08:28 +0000 (17:08 +0200)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 12 Jun 2013 16:50:21 +0000 (18:50 +0200)
tsc is a very generic name. This patch adds a TI and HW prefix to it
less generic.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
drivers/input/touchscreen/ti_am335x_tsc.c
drivers/mfd/ti_am335x_tscadc.c

index a1db55d1a8629a26954d0f078dd955dfce60b7dd..ff3215ddf9f52ac7abf2b6809207ed88e8eb6135 100644 (file)
@@ -491,7 +491,7 @@ static struct platform_driver ti_tsc_driver = {
        .probe  = titsc_probe,
        .remove = titsc_remove,
        .driver = {
-               .name   = "tsc",
+               .name   = "TI-am335x-tsc",
                .owner  = THIS_MODULE,
                .pm     = TITSC_PM_OPS,
                .of_match_table = of_match_ptr(ti_tsc_dt_ids),
index d05fcba6f13a7fa04cc3a601ba063f27e75f43df..5fb8b1dace8e7abc7a9d8fef32797cebf8227ccc 100644 (file)
@@ -213,7 +213,7 @@ static      int ti_tscadc_probe(struct platform_device *pdev)
        if (tsc_wires > 0) {
                tscadc->tsc_cell = tscadc->used_cells;
                cell = &tscadc->cells[tscadc->used_cells++];
-               cell->name = "tsc";
+               cell->name = "TI-am335x-tsc";
                cell->of_compatible = "ti,am3359-tsc";
                cell->platform_data = &tscadc;
                cell->pdata_size = sizeof(tscadc);