aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/sharpsl.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:58 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:58 -0400
commit5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch)
tree4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/sharpsl.c
parentfe5e48259137661a7e07c97a931b4f6aba52ed1e (diff)
mtd: nand: 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/mtd/nand/sharpsl.c')
-rw-r--r--drivers/mtd/nand/sharpsl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index e81059b58382..842c47a451a0 100644
--- a/drivers/mtd/nand/sharpsl.c
+++ b/drivers/mtd/nand/sharpsl.c
@@ -220,7 +220,6 @@ static int sharpsl_nand_remove(struct platform_device *pdev)
220static struct platform_driver sharpsl_nand_driver = { 220static struct platform_driver sharpsl_nand_driver = {
221 .driver = { 221 .driver = {
222 .name = "sharpsl-nand", 222 .name = "sharpsl-nand",
223 .owner = THIS_MODULE,
224 }, 223 },
225 .probe = sharpsl_nand_probe, 224 .probe = sharpsl_nand_probe,
226 .remove = sharpsl_nand_remove, 225 .remove = sharpsl_nand_remove,