netlink: hide struct module parameter in netlink_kernel_create
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 8 Sep 2012 02:53:54 +0000 (02:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Sep 2012 22:46:30 +0000 (18:46 -0400)
commit9f00d9776bc5beb92e8bfc884a7e96ddc5589e2e
tree2a9f9513a13c73cb1196ebe3426389c1140e2888
parent9785e10aedfa0fad5c1aac709dce5ada1b123783
netlink: hide struct module parameter in netlink_kernel_create

This patch defines netlink_kernel_create as a wrapper function of
__netlink_kernel_create to hide the struct module *me parameter
(which seems to be THIS_MODULE in all existing netlink subsystems).

Suggested by David S. Miller.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 files changed:
crypto/crypto_user.c
drivers/connector/connector.c
drivers/infiniband/core/netlink.c
drivers/scsi/scsi_netlink.c
drivers/scsi/scsi_transport_iscsi.c
drivers/staging/gdm72xx/netlink_k.c
include/linux/netlink.h
kernel/audit.c
lib/kobject_uevent.c
net/bridge/netfilter/ebt_ulog.c
net/core/rtnetlink.c
net/core/sock_diag.c
net/decnet/netfilter/dn_rtmsg.c
net/ipv4/fib_frontend.c
net/ipv4/netfilter/ipt_ULOG.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/netlink/genetlink.c
net/xfrm/xfrm_user.c
security/selinux/netlink.c