aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:36 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:36 -0400
commit14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch)
tree761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-fsl-spi.c
parent72c6293340bb2fea5ced8fdecc7d765fd6828731 (diff)
spi: 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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
-rw-r--r--drivers/spi/spi-fsl-spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c
index ed792880c9d6..048f4577e5aa 100644
--- a/drivers/spi/spi-fsl-spi.c
+++ b/drivers/spi/spi-fsl-spi.c
@@ -882,7 +882,6 @@ static int of_fsl_spi_remove(struct platform_device *ofdev)
882static struct platform_driver of_fsl_spi_driver = { 882static struct platform_driver of_fsl_spi_driver = {
883 .driver = { 883 .driver = {
884 .name = "fsl_spi", 884 .name = "fsl_spi",
885 .owner = THIS_MODULE,
886 .of_match_table = of_fsl_spi_match, 885 .of_match_table = of_fsl_spi_match,
887 }, 886 },
888 .probe = of_fsl_spi_probe, 887 .probe = of_fsl_spi_probe,
@@ -929,7 +928,6 @@ static struct platform_driver mpc8xxx_spi_driver = {
929 .remove = plat_mpc8xxx_spi_remove, 928 .remove = plat_mpc8xxx_spi_remove,
930 .driver = { 929 .driver = {
931 .name = "mpc8xxx_spi", 930 .name = "mpc8xxx_spi",
932 .owner = THIS_MODULE,
933 }, 931 },
934}; 932};
935 933