Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-08-19 Thread Michal Marek
On 2015-07-10 06:53, Krzysztof Kozlowski wrote: > i2c_add_driver (through i2c_register_driver) sets the owner field so we > can drop it also from i2c drivers, just like from platform drivers. > > Signed-off-by: Krzysztof Kozlowski Applied to kbuild.git#misc. Michal -- To unsubscribe from this

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-07-11 Thread Julia Lawall
On Sat, 11 Jul 2015, Krzysztof Kozlowski wrote: > 2015-07-10 22:01 GMT+09:00 Julia Lawall : > > Acked-by: Julia Lawall > > > > As a semantic patch, it looks fine. Have you sent any patches based on > > it? I find hundreds of occurrences. > > Yes, I sent patches fixing this for drivers I was a

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-07-10 Thread Krzysztof Kozlowski
2015-07-10 22:01 GMT+09:00 Julia Lawall : > Acked-by: Julia Lawall > > As a semantic patch, it looks fine. Have you sent any patches based on > it? I find hundreds of occurrences. Yes, I sent patches fixing this for drivers I was able to compile (allyesconfig on arm, arm64, i386, x86_64, ppc64)

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-07-10 Thread Julia Lawall
Acked-by: Julia Lawall As a semantic patch, it looks fine. Have you sent any patches based on it? I find hundreds of occurrences. julia On Fri, 10 Jul 2015, Krzysztof Kozlowski wrote: > i2c_add_driver (through i2c_register_driver) sets the owner field so we > can drop it also from i2c driver

[PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-07-09 Thread Krzysztof Kozlowski
i2c_add_driver (through i2c_register_driver) sets the owner field so we can drop it also from i2c drivers, just like from platform drivers. Signed-off-by: Krzysztof Kozlowski --- scripts/coccinelle/api/platform_no_drv_owner.cocci | 73 ++ 1 file changed, 73 insertions(+) dif