Commit de720242 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

sparc: kernel: 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 1d5f672e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -178,7 +178,6 @@ MODULE_DEVICE_TABLE(of, apc_match);
static struct platform_driver apc_driver = {
	.driver = {
		.name = "apc",
		.owner = THIS_MODULE,
		.of_match_table = apc_match,
	},
	.probe		= apc_probe,
+0 −1
Original line number Diff line number Diff line
@@ -135,7 +135,6 @@ static struct platform_driver auxio_driver = {
	.probe		= auxio_probe,
	.driver = {
		.name = "auxio",
		.owner = THIS_MODULE,
		.of_match_table = auxio_match,
	},
};
+0 −2
Original line number Diff line number Diff line
@@ -152,7 +152,6 @@ static struct platform_driver clock_board_driver = {
	.probe		= clock_board_probe,
	.driver = {
		.name = "clock_board",
		.owner = THIS_MODULE,
		.of_match_table = clock_board_match,
	},
};
@@ -257,7 +256,6 @@ static struct platform_driver fhc_driver = {
	.probe		= fhc_probe,
	.driver = {
		.name = "fhc",
		.owner = THIS_MODULE,
		.of_match_table = fhc_match,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -810,7 +810,6 @@ MODULE_DEVICE_TABLE(of, us3mc_match);
static struct platform_driver us3mc_driver = {
	.driver = {
		.name = "us3mc",
		.owner = THIS_MODULE,
		.of_match_table = us3mc_match,
	},
	.probe		= us3mc_probe,
+0 −1
Original line number Diff line number Diff line
@@ -708,7 +708,6 @@ static struct of_device_id grpci1_of_match[] = {
static struct platform_driver grpci1_of_driver = {
	.driver = {
		.name = "grpci1",
		.owner = THIS_MODULE,
		.of_match_table = grpci1_of_match,
	},
	.probe = grpci1_of_probe,
Loading