aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/armada/armada_drv.c1
-rw-r--r--drivers/gpu/drm/armada/armada_gem.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c1
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimc.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gsc.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_rotator.c2
-rw-r--r--drivers/gpu/drm/imx/imx-drm-core.c1
-rw-r--r--drivers/gpu/drm/imx/imx-hdmi.c1
-rw-r--r--drivers/gpu/drm/imx/imx-ldb.c1
-rw-r--r--drivers/gpu/drm/imx/imx-tve.c1
-rw-r--r--drivers/gpu/drm/imx/parallel-display.c1
-rw-r--r--drivers/gpu/drm/msm/msm_drv.c1
-rw-r--r--drivers/gpu/drm/omapdrm/omap_drv.c1
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c1
-rw-r--r--drivers/gpu/drm/radeon/mkregtable.c24
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c1
-rw-r--r--drivers/gpu/drm/shmobile/shmob_drm_drv.c1
-rw-r--r--drivers/gpu/drm/sti/sti_compositor.c1
-rw-r--r--drivers/gpu/drm/sti/sti_drm_drv.c2
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.c1
21 files changed, 17 insertions, 33 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
index 908e5316eac4..b01420c84864 100644
--- a/drivers/gpu/drm/armada/armada_drv.c
+++ b/drivers/gpu/drm/armada/armada_drv.c
@@ -486,7 +486,6 @@ static struct platform_driver armada_drm_platform_driver = {
486 .remove = armada_drm_remove, 486 .remove = armada_drm_remove,
487 .driver = { 487 .driver = {
488 .name = "armada-drm", 488 .name = "armada-drm",
489 .owner = THIS_MODULE,
490 }, 489 },
491 .id_table = armada_drm_platform_ids, 490 .id_table = armada_drm_platform_ids,
492}; 491};
diff --git a/drivers/gpu/drm/armada/armada_gem.c b/drivers/gpu/drm/armada/armada_gem.c
index 7496f55611a5..ef5feeecec84 100644
--- a/drivers/gpu/drm/armada/armada_gem.c
+++ b/drivers/gpu/drm/armada/armada_gem.c
@@ -226,7 +226,7 @@ struct armada_gem_object *armada_gem_alloc_object(struct drm_device *dev,
226 226
227 obj->dev_addr = DMA_ERROR_CODE; 227 obj->dev_addr = DMA_ERROR_CODE;
228 228
229 mapping = obj->obj.filp->f_path.dentry->d_inode->i_mapping; 229 mapping = file_inode(obj->obj.filp)->i_mapping;
230 mapping_set_gfp_mask(mapping, GFP_HIGHUSER | __GFP_RECLAIMABLE); 230 mapping_set_gfp_mask(mapping, GFP_HIGHUSER | __GFP_RECLAIMABLE);
231 231
232 DRM_DEBUG_DRIVER("alloc obj %p size %zu\n", obj, size); 232 DRM_DEBUG_DRIVER("alloc obj %p size %zu\n", obj, size);
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 25ba3628960a..121470a83d1a 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -618,7 +618,6 @@ static struct platform_driver exynos_drm_platform_driver = {
618 .probe = exynos_drm_platform_probe, 618 .probe = exynos_drm_platform_probe,
619 .remove = exynos_drm_platform_remove, 619 .remove = exynos_drm_platform_remove,
620 .driver = { 620 .driver = {
621 .owner = THIS_MODULE,
622 .name = "exynos-drm", 621 .name = "exynos-drm",
623 .pm = &exynos_drm_pm_ops, 622 .pm = &exynos_drm_pm_ops,
624 }, 623 },
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c
index 68d38eb6774d..835b6af00970 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimc.c
@@ -1817,7 +1817,7 @@ static int fimc_resume(struct device *dev)
1817} 1817}
1818#endif 1818#endif
1819 1819
1820#ifdef CONFIG_PM_RUNTIME 1820#ifdef CONFIG_PM
1821static int fimc_runtime_suspend(struct device *dev) 1821static int fimc_runtime_suspend(struct device *dev)
1822{ 1822{
1823 struct fimc_context *ctx = get_fimc_context(dev); 1823 struct fimc_context *ctx = get_fimc_context(dev);
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 6ff8599f6cbf..81a250830808 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -1540,7 +1540,7 @@ static int g2d_resume(struct device *dev)
1540} 1540}
1541#endif 1541#endif
1542 1542
1543#ifdef CONFIG_PM_RUNTIME 1543#ifdef CONFIG_PM
1544static int g2d_runtime_suspend(struct device *dev) 1544static int g2d_runtime_suspend(struct device *dev)
1545{ 1545{
1546 struct g2d_data *g2d = dev_get_drvdata(dev); 1546 struct g2d_data *g2d = dev_get_drvdata(dev);
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
index c6a013fc321c..0261468c8019 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
@@ -1764,7 +1764,7 @@ static int gsc_resume(struct device *dev)
1764} 1764}
1765#endif 1765#endif
1766 1766
1767#ifdef CONFIG_PM_RUNTIME 1767#ifdef CONFIG_PM
1768static int gsc_runtime_suspend(struct device *dev) 1768static int gsc_runtime_suspend(struct device *dev)
1769{ 1769{
1770 struct gsc_context *ctx = get_gsc_context(dev); 1770 struct gsc_context *ctx = get_gsc_context(dev);
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
index b6a37d4f5b13..425e70625388 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
@@ -822,7 +822,7 @@ static int rotator_resume(struct device *dev)
822} 822}
823#endif 823#endif
824 824
825#ifdef CONFIG_PM_RUNTIME 825#ifdef CONFIG_PM
826static int rotator_runtime_suspend(struct device *dev) 826static int rotator_runtime_suspend(struct device *dev)
827{ 827{
828 struct rot_context *rot = dev_get_drvdata(dev); 828 struct rot_context *rot = dev_get_drvdata(dev);
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index 2f8007241734..e48b2211d2d6 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -692,7 +692,6 @@ static struct platform_driver imx_drm_pdrv = {
692 .probe = imx_drm_platform_probe, 692 .probe = imx_drm_platform_probe,
693 .remove = imx_drm_platform_remove, 693 .remove = imx_drm_platform_remove,
694 .driver = { 694 .driver = {
695 .owner = THIS_MODULE,
696 .name = "imx-drm", 695 .name = "imx-drm",
697 .pm = &imx_drm_pm_ops, 696 .pm = &imx_drm_pm_ops,
698 .of_match_table = imx_drm_dt_ids, 697 .of_match_table = imx_drm_dt_ids,
diff --git a/drivers/gpu/drm/imx/imx-hdmi.c b/drivers/gpu/drm/imx/imx-hdmi.c
index aaec6b2cdf56..ddc53e039530 100644
--- a/drivers/gpu/drm/imx/imx-hdmi.c
+++ b/drivers/gpu/drm/imx/imx-hdmi.c
@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = {
1754 .remove = imx_hdmi_platform_remove, 1754 .remove = imx_hdmi_platform_remove,
1755 .driver = { 1755 .driver = {
1756 .name = "imx-hdmi", 1756 .name = "imx-hdmi",
1757 .owner = THIS_MODULE,
1758 .of_match_table = imx_hdmi_dt_ids, 1757 .of_match_table = imx_hdmi_dt_ids,
1759 }, 1758 },
1760}; 1759};
diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c
index 4662e00b456a..2638dc1671d0 100644
--- a/drivers/gpu/drm/imx/imx-ldb.c
+++ b/drivers/gpu/drm/imx/imx-ldb.c
@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = {
604 .driver = { 604 .driver = {
605 .of_match_table = imx_ldb_dt_ids, 605 .of_match_table = imx_ldb_dt_ids,
606 .name = DRIVER_NAME, 606 .name = DRIVER_NAME,
607 .owner = THIS_MODULE,
608 }, 607 },
609}; 608};
610 609
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index 42c651be6c20..64b54d7f996c 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = {
724 .driver = { 724 .driver = {
725 .of_match_table = imx_tve_dt_ids, 725 .of_match_table = imx_tve_dt_ids,
726 .name = "imx-tve", 726 .name = "imx-tve",
727 .owner = THIS_MODULE,
728 }, 727 },
729}; 728};
730 729
diff --git a/drivers/gpu/drm/imx/parallel-display.c b/drivers/gpu/drm/imx/parallel-display.c
index 015a454b87e1..8a76a5c1c34b 100644
--- a/drivers/gpu/drm/imx/parallel-display.c
+++ b/drivers/gpu/drm/imx/parallel-display.c
@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = {
284 .driver = { 284 .driver = {
285 .of_match_table = imx_pd_dt_ids, 285 .of_match_table = imx_pd_dt_ids,
286 .name = "imx-parallel-display", 286 .name = "imx-parallel-display",
287 .owner = THIS_MODULE,
288 }, 287 },
289}; 288};
290 289
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index d3b791b7ddef..c795217e1bfc 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -1012,7 +1012,6 @@ static struct platform_driver msm_platform_driver = {
1012 .probe = msm_pdev_probe, 1012 .probe = msm_pdev_probe,
1013 .remove = msm_pdev_remove, 1013 .remove = msm_pdev_remove,
1014 .driver = { 1014 .driver = {
1015 .owner = THIS_MODULE,
1016 .name = "msm", 1015 .name = "msm",
1017 .of_match_table = dt_match, 1016 .of_match_table = dt_match,
1018 .pm = &msm_pm_ops, 1017 .pm = &msm_pm_ops,
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index 862ba03c236c..8241ed9b353c 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -718,7 +718,6 @@ static const struct dev_pm_ops omapdrm_pm_ops = {
718static struct platform_driver pdev = { 718static struct platform_driver pdev = {
719 .driver = { 719 .driver = {
720 .name = DRIVER_NAME, 720 .name = DRIVER_NAME,
721 .owner = THIS_MODULE,
722#ifdef CONFIG_PM 721#ifdef CONFIG_PM
723 .pm = &omapdrm_pm_ops, 722 .pm = &omapdrm_pm_ops,
724#endif 723#endif
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c4b6167a8bf3..e95385bf8356 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -807,7 +807,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev)
807static struct platform_driver panel_simple_platform_driver = { 807static struct platform_driver panel_simple_platform_driver = {
808 .driver = { 808 .driver = {
809 .name = "panel-simple", 809 .name = "panel-simple",
810 .owner = THIS_MODULE,
811 .of_match_table = platform_of_match, 810 .of_match_table = platform_of_match,
812 }, 811 },
813 .probe = panel_simple_platform_probe, 812 .probe = panel_simple_platform_probe,
diff --git a/drivers/gpu/drm/radeon/mkregtable.c b/drivers/gpu/drm/radeon/mkregtable.c
index 4a85bb644e24..b928c17bdeed 100644
--- a/drivers/gpu/drm/radeon/mkregtable.c
+++ b/drivers/gpu/drm/radeon/mkregtable.c
@@ -347,7 +347,7 @@ static inline void list_splice_tail_init(struct list_head *list,
347 * list_entry - get the struct for this entry 347 * list_entry - get the struct for this entry
348 * @ptr: the &struct list_head pointer. 348 * @ptr: the &struct list_head pointer.
349 * @type: the type of the struct this is embedded in. 349 * @type: the type of the struct this is embedded in.
350 * @member: the name of the list_struct within the struct. 350 * @member: the name of the list_head within the struct.
351 */ 351 */
352#define list_entry(ptr, type, member) \ 352#define list_entry(ptr, type, member) \
353 container_of(ptr, type, member) 353 container_of(ptr, type, member)
@@ -356,7 +356,7 @@ static inline void list_splice_tail_init(struct list_head *list,
356 * list_first_entry - get the first element from a list 356 * list_first_entry - get the first element from a list
357 * @ptr: the list head to take the element from. 357 * @ptr: the list head to take the element from.
358 * @type: the type of the struct this is embedded in. 358 * @type: the type of the struct this is embedded in.
359 * @member: the name of the list_struct within the struct. 359 * @member: the name of the list_head within the struct.
360 * 360 *
361 * Note, that list is expected to be not empty. 361 * Note, that list is expected to be not empty.
362 */ 362 */
@@ -406,7 +406,7 @@ static inline void list_splice_tail_init(struct list_head *list,
406 * list_for_each_entry - iterate over list of given type 406 * list_for_each_entry - iterate over list of given type
407 * @pos: the type * to use as a loop cursor. 407 * @pos: the type * to use as a loop cursor.
408 * @head: the head for your list. 408 * @head: the head for your list.
409 * @member: the name of the list_struct within the struct. 409 * @member: the name of the list_head within the struct.
410 */ 410 */
411#define list_for_each_entry(pos, head, member) \ 411#define list_for_each_entry(pos, head, member) \
412 for (pos = list_entry((head)->next, typeof(*pos), member); \ 412 for (pos = list_entry((head)->next, typeof(*pos), member); \
@@ -417,7 +417,7 @@ static inline void list_splice_tail_init(struct list_head *list,
417 * list_for_each_entry_reverse - iterate backwards over list of given type. 417 * list_for_each_entry_reverse - iterate backwards over list of given type.
418 * @pos: the type * to use as a loop cursor. 418 * @pos: the type * to use as a loop cursor.
419 * @head: the head for your list. 419 * @head: the head for your list.
420 * @member: the name of the list_struct within the struct. 420 * @member: the name of the list_head within the struct.
421 */ 421 */
422#define list_for_each_entry_reverse(pos, head, member) \ 422#define list_for_each_entry_reverse(pos, head, member) \
423 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 423 for (pos = list_entry((head)->prev, typeof(*pos), member); \
@@ -428,7 +428,7 @@ static inline void list_splice_tail_init(struct list_head *list,
428 * list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue() 428 * list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue()
429 * @pos: the type * to use as a start point 429 * @pos: the type * to use as a start point
430 * @head: the head of the list 430 * @head: the head of the list
431 * @member: the name of the list_struct within the struct. 431 * @member: the name of the list_head within the struct.
432 * 432 *
433 * Prepares a pos entry for use as a start point in list_for_each_entry_continue(). 433 * Prepares a pos entry for use as a start point in list_for_each_entry_continue().
434 */ 434 */
@@ -439,7 +439,7 @@ static inline void list_splice_tail_init(struct list_head *list,
439 * list_for_each_entry_continue - continue iteration over list of given type 439 * list_for_each_entry_continue - continue iteration over list of given type
440 * @pos: the type * to use as a loop cursor. 440 * @pos: the type * to use as a loop cursor.
441 * @head: the head for your list. 441 * @head: the head for your list.
442 * @member: the name of the list_struct within the struct. 442 * @member: the name of the list_head within the struct.
443 * 443 *
444 * Continue to iterate over list of given type, continuing after 444 * Continue to iterate over list of given type, continuing after
445 * the current position. 445 * the current position.
@@ -453,7 +453,7 @@ static inline void list_splice_tail_init(struct list_head *list,
453 * list_for_each_entry_continue_reverse - iterate backwards from the given point 453 * list_for_each_entry_continue_reverse - iterate backwards from the given point
454 * @pos: the type * to use as a loop cursor. 454 * @pos: the type * to use as a loop cursor.
455 * @head: the head for your list. 455 * @head: the head for your list.
456 * @member: the name of the list_struct within the struct. 456 * @member: the name of the list_head within the struct.
457 * 457 *
458 * Start to iterate over list of given type backwards, continuing after 458 * Start to iterate over list of given type backwards, continuing after
459 * the current position. 459 * the current position.
@@ -467,7 +467,7 @@ static inline void list_splice_tail_init(struct list_head *list,
467 * list_for_each_entry_from - iterate over list of given type from the current point 467 * list_for_each_entry_from - iterate over list of given type from the current point
468 * @pos: the type * to use as a loop cursor. 468 * @pos: the type * to use as a loop cursor.
469 * @head: the head for your list. 469 * @head: the head for your list.
470 * @member: the name of the list_struct within the struct. 470 * @member: the name of the list_head within the struct.
471 * 471 *
472 * Iterate over list of given type, continuing from current position. 472 * Iterate over list of given type, continuing from current position.
473 */ 473 */
@@ -480,7 +480,7 @@ static inline void list_splice_tail_init(struct list_head *list,
480 * @pos: the type * to use as a loop cursor. 480 * @pos: the type * to use as a loop cursor.
481 * @n: another type * to use as temporary storage 481 * @n: another type * to use as temporary storage
482 * @head: the head for your list. 482 * @head: the head for your list.
483 * @member: the name of the list_struct within the struct. 483 * @member: the name of the list_head within the struct.
484 */ 484 */
485#define list_for_each_entry_safe(pos, n, head, member) \ 485#define list_for_each_entry_safe(pos, n, head, member) \
486 for (pos = list_entry((head)->next, typeof(*pos), member), \ 486 for (pos = list_entry((head)->next, typeof(*pos), member), \
@@ -493,7 +493,7 @@ static inline void list_splice_tail_init(struct list_head *list,
493 * @pos: the type * to use as a loop cursor. 493 * @pos: the type * to use as a loop cursor.
494 * @n: another type * to use as temporary storage 494 * @n: another type * to use as temporary storage
495 * @head: the head for your list. 495 * @head: the head for your list.
496 * @member: the name of the list_struct within the struct. 496 * @member: the name of the list_head within the struct.
497 * 497 *
498 * Iterate over list of given type, continuing after current point, 498 * Iterate over list of given type, continuing after current point,
499 * safe against removal of list entry. 499 * safe against removal of list entry.
@@ -509,7 +509,7 @@ static inline void list_splice_tail_init(struct list_head *list,
509 * @pos: the type * to use as a loop cursor. 509 * @pos: the type * to use as a loop cursor.
510 * @n: another type * to use as temporary storage 510 * @n: another type * to use as temporary storage
511 * @head: the head for your list. 511 * @head: the head for your list.
512 * @member: the name of the list_struct within the struct. 512 * @member: the name of the list_head within the struct.
513 * 513 *
514 * Iterate over list of given type from current point, safe against 514 * Iterate over list of given type from current point, safe against
515 * removal of list entry. 515 * removal of list entry.
@@ -524,7 +524,7 @@ static inline void list_splice_tail_init(struct list_head *list,
524 * @pos: the type * to use as a loop cursor. 524 * @pos: the type * to use as a loop cursor.
525 * @n: another type * to use as temporary storage 525 * @n: another type * to use as temporary storage
526 * @head: the head for your list. 526 * @head: the head for your list.
527 * @member: the name of the list_struct within the struct. 527 * @member: the name of the list_head within the struct.
528 * 528 *
529 * Iterate backwards over list of given type, safe against removal 529 * Iterate backwards over list of given type, safe against removal
530 * of list entry. 530 * of list entry.
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 967ae8f20233..7bfa09cf18d5 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -328,7 +328,6 @@ static struct platform_driver rcar_du_platform_driver = {
328 .probe = rcar_du_probe, 328 .probe = rcar_du_probe,
329 .remove = rcar_du_remove, 329 .remove = rcar_du_remove,
330 .driver = { 330 .driver = {
331 .owner = THIS_MODULE,
332 .name = "rcar-du", 331 .name = "rcar-du",
333 .pm = &rcar_du_pm_ops, 332 .pm = &rcar_du_pm_ops,
334 .of_match_table = rcar_du_of_table, 333 .of_match_table = rcar_du_of_table,
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c
index e62cbde81e50..666321de7b99 100644
--- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c
+++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c
@@ -348,7 +348,6 @@ static struct platform_driver shmob_drm_platform_driver = {
348 .probe = shmob_drm_probe, 348 .probe = shmob_drm_probe,
349 .remove = shmob_drm_remove, 349 .remove = shmob_drm_remove,
350 .driver = { 350 .driver = {
351 .owner = THIS_MODULE,
352 .name = "shmob-drm", 351 .name = "shmob-drm",
353 .pm = &shmob_drm_pm_ops, 352 .pm = &shmob_drm_pm_ops,
354 }, 353 },
diff --git a/drivers/gpu/drm/sti/sti_compositor.c b/drivers/gpu/drm/sti/sti_compositor.c
index c5cf4aea9694..43215d3020fb 100644
--- a/drivers/gpu/drm/sti/sti_compositor.c
+++ b/drivers/gpu/drm/sti/sti_compositor.c
@@ -271,7 +271,6 @@ static int sti_compositor_remove(struct platform_device *pdev)
271static struct platform_driver sti_compositor_driver = { 271static struct platform_driver sti_compositor_driver = {
272 .driver = { 272 .driver = {
273 .name = "sti-compositor", 273 .name = "sti-compositor",
274 .owner = THIS_MODULE,
275 .of_match_table = compositor_of_match, 274 .of_match_table = compositor_of_match,
276 }, 275 },
277 .probe = sti_compositor_probe, 276 .probe = sti_compositor_probe,
diff --git a/drivers/gpu/drm/sti/sti_drm_drv.c b/drivers/gpu/drm/sti/sti_drm_drv.c
index 9ce7574ac873..5239fa121726 100644
--- a/drivers/gpu/drm/sti/sti_drm_drv.c
+++ b/drivers/gpu/drm/sti/sti_drm_drv.c
@@ -188,7 +188,6 @@ static struct platform_driver sti_drm_master_driver = {
188 .probe = sti_drm_master_probe, 188 .probe = sti_drm_master_probe,
189 .remove = sti_drm_master_remove, 189 .remove = sti_drm_master_remove,
190 .driver = { 190 .driver = {
191 .owner = THIS_MODULE,
192 .name = DRIVER_NAME "__master", 191 .name = DRIVER_NAME "__master",
193 }, 192 },
194}; 193};
@@ -232,7 +231,6 @@ static struct platform_driver sti_drm_platform_driver = {
232 .probe = sti_drm_platform_probe, 231 .probe = sti_drm_platform_probe,
233 .remove = sti_drm_platform_remove, 232 .remove = sti_drm_platform_remove,
234 .driver = { 233 .driver = {
235 .owner = THIS_MODULE,
236 .name = DRIVER_NAME, 234 .name = DRIVER_NAME,
237 .of_match_table = sti_drm_dt_ids, 235 .of_match_table = sti_drm_dt_ids,
238 }, 236 },
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index d56d3f8b8d6b..095fca91525c 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -644,7 +644,6 @@ static struct platform_driver tilcdc_platform_driver = {
644 .probe = tilcdc_pdev_probe, 644 .probe = tilcdc_pdev_probe,
645 .remove = tilcdc_pdev_remove, 645 .remove = tilcdc_pdev_remove,
646 .driver = { 646 .driver = {
647 .owner = THIS_MODULE,
648 .name = "tilcdc", 647 .name = "tilcdc",
649 .pm = &tilcdc_pm_ops, 648 .pm = &tilcdc_pm_ops,
650 .of_match_table = tilcdc_of_match, 649 .of_match_table = tilcdc_of_match,