diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 07:52:31 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-10 08:37:35 +0200 |
commit | 069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475 (patch) | |
tree | eb7050767511bbcbb0505011f8e1fcd1f8085166 /drivers/i2c/muxes | |
parent | i2c: designware-pci: use IRQF_COND_SUSPEND flag (diff) | |
download | linux-069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475.tar.xz linux-069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475.zip |
i2c: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes')
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-pca9541.c | 1 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-pca954x.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index 0c8d4d2cbdaf..d0ba424adebc 100644 --- a/drivers/i2c/muxes/i2c-mux-pca9541.c +++ b/drivers/i2c/muxes/i2c-mux-pca9541.c @@ -386,7 +386,6 @@ static int pca9541_remove(struct i2c_client *client) static struct i2c_driver pca9541_driver = { .driver = { .name = "pca9541", - .owner = THIS_MODULE, }, .probe = pca9541_probe, .remove = pca9541_remove, diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c index ea4aa9dfcea9..acfcef3d4068 100644 --- a/drivers/i2c/muxes/i2c-mux-pca954x.c +++ b/drivers/i2c/muxes/i2c-mux-pca954x.c @@ -300,7 +300,6 @@ static struct i2c_driver pca954x_driver = { .driver = { .name = "pca954x", .pm = &pca954x_pm, - .owner = THIS_MODULE, }, .probe = pca954x_probe, .remove = pca954x_remove, |