Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: ti-qspi: Fixup driver name

The driver name in current code looks like a compatible string which is not
the naming convention for platform drivers.
Fix it and also add modalias since this driver can be built as a module.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Axel Lin and committed by
Mark Brown
5a33d30f 3ab54620

+2 -1
+2 -1
drivers/spi/spi-ti-qspi.c
··· 560 560 .probe = ti_qspi_probe, 561 561 .remove = ti_qspi_remove, 562 562 .driver = { 563 - .name = "ti,dra7xxx-qspi", 563 + .name = "ti-qspi", 564 564 .owner = THIS_MODULE, 565 565 .pm = &ti_qspi_pm_ops, 566 566 .of_match_table = ti_qspi_match, ··· 572 572 MODULE_AUTHOR("Sourav Poddar <sourav.poddar@ti.com>"); 573 573 MODULE_LICENSE("GPL v2"); 574 574 MODULE_DESCRIPTION("TI QSPI controller driver"); 575 + MODULE_ALIAS("platform:ti-qspi");