diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-28 17:40:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 15:16:02 -0800 |
commit | 1f648f88cea7f9b16ea8964cd81b92fb08df75a5 (patch) | |
tree | eb745115f3216e1297aa258d0fdffd83fa6735e2 /lib/kobject.c | |
parent | 291f653a140ad880426125e5e9dbb70f4c184683 (diff) |
coccinelle: api: add spatch to prevent unnecessary .owner
There are calls which silently set the owner of a module. This is the
preferred way [1], so avoid setting it manually. Currently, we only care
about platform drivers, but there might be more calls to be added later.
[1] https://lkml.org/lkml/2014/10/12/87
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions