summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-amd.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-06-01 14:53:59 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-06-04 10:12:42 +0200
commit3944e7b78c7b1bfed7808692cc539496b3f94eea (patch)
tree6ea45ab6e0b2d50695851f8587f4e034a020ba39 /drivers/pinctrl/pinctrl-amd.c
parentpinctrl: fix confusing debug message in pinctrl_register_map() (diff)
downloadlinux-3944e7b78c7b1bfed7808692cc539496b3f94eea.tar.xz
linux-3944e7b78c7b1bfed7808692cc539496b3f94eea.zip
pinctrl: Remove .owner field
platform_driver does not need to set the owner field, as it will be populated by the driver core, so just remove it. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.c')
-rw-r--r--drivers/pinctrl/pinctrl-amd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 7de3b64bf142..e74791254c9c 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -855,7 +855,6 @@ MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match);
static struct platform_driver amd_gpio_driver = {
.driver = {
.name = "amd_gpio",
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(amd_gpio_acpi_match),
},
.probe = amd_gpio_probe,