* [PATCH -next] iio: magn: ak8974: remove .owner field for driver
@ 2016-08-26 14:32 Wei Yongjun
2016-08-26 19:34 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Wei Yongjun @ 2016-08-26 14:32 UTC (permalink / raw)
To: Linus Walleij, Jonathan Cameron, Hartmut Knaack,
Lars-Peter Clausen, Peter Meerwald-Stadler
Cc: Wei Yongjun, linux-iio
From: Wei Yongjun <weiyongjun1@huawei.com>
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
drivers/iio/magnetometer/ak8974.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c
index e70e4e2..100b288 100644
--- a/drivers/iio/magnetometer/ak8974.c
+++ b/drivers/iio/magnetometer/ak8974.c
@@ -847,7 +847,6 @@ MODULE_DEVICE_TABLE(of, ak8974_of_match);
static struct i2c_driver ak8974_driver = {
.driver = {
.name = "ak8974",
- .owner = THIS_MODULE,
.pm = &ak8974_dev_pm_ops,
.of_match_table = of_match_ptr(ak8974_of_match),
},
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] iio: magn: ak8974: remove .owner field for driver
2016-08-26 14:32 [PATCH -next] iio: magn: ak8974: remove .owner field for driver Wei Yongjun
@ 2016-08-26 19:34 ` Linus Walleij
2016-08-29 19:12 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2016-08-26 19:34 UTC (permalink / raw)
To: Wei Yongjun
Cc: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, Wei Yongjun, linux-iio@vger.kernel.org
On Fri, Aug 26, 2016 at 4:32 PM, Wei Yongjun <weiyj.lk@gmail.com> wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Remove .owner field if calls are used which set it automatically.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] iio: magn: ak8974: remove .owner field for driver
2016-08-26 19:34 ` Linus Walleij
@ 2016-08-29 19:12 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2016-08-29 19:12 UTC (permalink / raw)
To: Linus Walleij, Wei Yongjun
Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
Wei Yongjun, linux-iio@vger.kernel.org
On 26/08/16 20:34, Linus Walleij wrote:
> On Fri, Aug 26, 2016 at 4:32 PM, Wei Yongjun <weiyj.lk@gmail.com> wrote:
>
>> From: Wei Yongjun <weiyongjun1@huawei.com>
>>
>> Remove .owner field if calls are used which set it automatically.
>>
>> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>>
>> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Applied.
Thanks,
Jonathan
>
> Yours,
> Linus Walleij
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-29 19:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-26 14:32 [PATCH -next] iio: magn: ak8974: remove .owner field for driver Wei Yongjun
2016-08-26 19:34 ` Linus Walleij
2016-08-29 19:12 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).