aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/muxes/i2c-mux-pinctrl.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:38 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:38 +0200
commit37e5dc1c277c4efa8d1093171ab77fd3585fca3d (patch)
treef2e8c55a2f62254a8e8d1151d7f27d12baadc203 /drivers/i2c/muxes/i2c-mux-pinctrl.c
parenti2c: busses: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-37e5dc1c277c4efa8d1093171ab77fd3585fca3d.tar.xz
linux-dev-37e5dc1c277c4efa8d1093171ab77fd3585fca3d.zip
i2c: muxes: 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/i2c/muxes/i2c-mux-pinctrl.c')
-rw-r--r--drivers/i2c/muxes/i2c-mux-pinctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c b/drivers/i2c/muxes/i2c-mux-pinctrl.c
index 4ff0ef3e07a6..b48378c4b40d 100644
--- a/drivers/i2c/muxes/i2c-mux-pinctrl.c
+++ b/drivers/i2c/muxes/i2c-mux-pinctrl.c
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, i2c_mux_pinctrl_of_match);
static struct platform_driver i2c_mux_pinctrl_driver = {
.driver = {
.name = "i2c-mux-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match),
},
.probe = i2c_mux_pinctrl_probe,