mirror of https://gitee.com/openkylin/linux.git
drm/panel: sony-acx565akm: Fix SPI alias
The panel-sony-acx565akm driver incorrectly includes the OF vendor
prefix in its SPI alias. Fix it, and move the manual alias to an SPI
module device table.
Fixes: 1c8fc3f0c5
("drm/panel: Add driver for the Sony ACX565AKM panel")
Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191007170801.27647-4-laurent.pinchart@ideasonboard.com
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
cf0c4eb15e
commit
d82a6ac300
|
@ -684,9 +684,17 @@ static const struct of_device_id acx565akm_of_match[] = {
|
|||
|
||||
MODULE_DEVICE_TABLE(of, acx565akm_of_match);
|
||||
|
||||
static const struct spi_device_id acx565akm_ids[] = {
|
||||
{ "acx565akm", 0 },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(spi, acx565akm_ids);
|
||||
|
||||
static struct spi_driver acx565akm_driver = {
|
||||
.probe = acx565akm_probe,
|
||||
.remove = acx565akm_remove,
|
||||
.id_table = acx565akm_ids,
|
||||
.driver = {
|
||||
.name = "panel-sony-acx565akm",
|
||||
.of_match_table = acx565akm_of_match,
|
||||
|
@ -695,7 +703,6 @@ static struct spi_driver acx565akm_driver = {
|
|||
|
||||
module_spi_driver(acx565akm_driver);
|
||||
|
||||
MODULE_ALIAS("spi:sony,acx565akm");
|
||||
MODULE_AUTHOR("Nokia Corporation");
|
||||
MODULE_DESCRIPTION("Sony ACX565AKM LCD Panel Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Loading…
Reference in New Issue