genetlink: pass family to functions using groups

This doesn't really change anything, but prepares for the
next patch that will change the APIs to pass the group ID
within the family, rather than the global group ID.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Johannes Berg
2013-11-19 15:19:38 +01:00
committed by David S. Miller
父節點 62b68e99fa
當前提交 68eb55031d
共有 18 個文件被更改,包括 133 次插入87 次删除

查看文件

@@ -146,7 +146,8 @@ int acpi_bus_generate_netlink_event(const char *device_class,
return result;
}
genlmsg_multicast(skb, 0, acpi_event_mcgrp.id, GFP_ATOMIC);
genlmsg_multicast(&acpi_event_genl_family,
skb, 0, acpi_event_mcgrp.id, GFP_ATOMIC);
return 0;
}