Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9144b3cd authored by Wolfram Sang's avatar Wolfram Sang
Browse files

tty: serial: drop owner assignment from platform_drivers



A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 3aa5fed2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -475,7 +475,6 @@ static struct platform_driver altera_jtaguart_platform_driver = {
	.remove	= altera_jtaguart_remove,
	.driver	= {
		.name		= DRV_NAME,
		.owner		= THIS_MODULE,
		.of_match_table	= of_match_ptr(altera_jtaguart_match),
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -623,7 +623,6 @@ static struct platform_driver altera_uart_platform_driver = {
	.remove	= altera_uart_remove,
	.driver	= {
		.name		= DRV_NAME,
		.owner		= THIS_MODULE,
		.of_match_table	= of_match_ptr(altera_uart_match),
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -585,7 +585,6 @@ static struct of_device_id apbuart_match[] = {
static struct platform_driver grlib_apbuart_of_driver = {
	.probe = apbuart_probe,
	.driver = {
		.owner = THIS_MODULE,
		.name = "grlib-apbuart",
		.of_match_table = apbuart_match,
	},
+0 −1
Original line number Diff line number Diff line
@@ -734,7 +734,6 @@ static struct platform_driver ar933x_uart_platform_driver = {
	.remove		= ar933x_uart_remove,
	.driver		= {
		.name		= DRIVER_NAME,
		.owner		= THIS_MODULE,
		.of_match_table = of_match_ptr(ar933x_uart_of_ids),
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -653,7 +653,6 @@ static struct platform_driver arc_platform_driver = {
	.remove = arc_serial_remove,
	.driver = {
		.name = DRIVER_NAME,
		.owner = THIS_MODULE,
		.of_match_table  = arc_uart_dt_ids,
	 },
};
Loading