mfd: input: ti_am335x_tsc: rename device from tsc to TI-am335x-tsc
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>
This commit is contained in:
parent
a3e509bb32
commit
5f184e63c6
2 changed files with 2 additions and 2 deletions
|
@ -491,7 +491,7 @@ static struct platform_driver ti_tsc_driver = {
|
||||||
.probe = titsc_probe,
|
.probe = titsc_probe,
|
||||||
.remove = titsc_remove,
|
.remove = titsc_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "tsc",
|
.name = "TI-am335x-tsc",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.pm = TITSC_PM_OPS,
|
.pm = TITSC_PM_OPS,
|
||||||
.of_match_table = of_match_ptr(ti_tsc_dt_ids),
|
.of_match_table = of_match_ptr(ti_tsc_dt_ids),
|
||||||
|
|
|
@ -213,7 +213,7 @@ static int ti_tscadc_probe(struct platform_device *pdev)
|
||||||
if (tsc_wires > 0) {
|
if (tsc_wires > 0) {
|
||||||
tscadc->tsc_cell = tscadc->used_cells;
|
tscadc->tsc_cell = tscadc->used_cells;
|
||||||
cell = &tscadc->cells[tscadc->used_cells++];
|
cell = &tscadc->cells[tscadc->used_cells++];
|
||||||
cell->name = "tsc";
|
cell->name = "TI-am335x-tsc";
|
||||||
cell->of_compatible = "ti,am3359-tsc";
|
cell->of_compatible = "ti,am3359-tsc";
|
||||||
cell->platform_data = &tscadc;
|
cell->platform_data = &tscadc;
|
||||||
cell->pdata_size = sizeof(tscadc);
|
cell->pdata_size = sizeof(tscadc);
|
||||||
|
|
Loading…
Reference in a new issue