coccinelle: api: extend spatch for dropping unnecessary owner
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 04:53:06 +0000 (13:53 +0900)
committerMichal Marek <mmarek@suse.com>
Wed, 19 Aug 2015 15:23:45 +0000 (17:23 +0200)
commitbec8a5a22640325e86cf5b737c18888747631099
tree22ad15d826c30eb39d8f2fa73b7cdd012e75f851
parentbf7b00557d10c0b84b6717305815c8fff7007830
coccinelle: api: extend spatch for dropping unnecessary owner

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 <k.kozlowski@samsung.com>
Acked-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/coccinelle/api/platform_no_drv_owner.cocci