diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 08:23:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-27 19:30:48 +0200 |
commit | 14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch) | |
tree | 422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers/misc/ti-st/st_kim.c | |
parent | char: misc: fix error path (diff) | |
download | linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.tar.xz linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.zip |
misc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ti-st/st_kim.c')
-rw-r--r-- | drivers/misc/ti-st/st_kim.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c index 5027b8ffae43..c84093e639e0 100644 --- a/drivers/misc/ti-st/st_kim.c +++ b/drivers/misc/ti-st/st_kim.c @@ -939,7 +939,6 @@ static struct platform_driver kim_platform_driver = { .resume = kim_resume, .driver = { .name = "kim", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(kim_of_match), }, }; |