From: David Fries Date: Thu, 16 Jan 2014 04:29:17 +0000 (-0600) Subject: w1: new netlink commands, add/remove/list slaves X-Git-Tag: v3.15-rc1~141^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70b34d2ed807b722413894975a8c60617defb887;p=pandora-kernel.git w1: new netlink commands, add/remove/list slaves Introduce new commands to add, remove, and list slave devices through the netlink interface. This can be useful to skip the search on a static network. They could previously only be added or removed through automatic search or sysfs, and this allows a program to only use netlink. Only allocate memory when needed, so move kzalloc into w1_get_slaves where it was used. Signed-off-by: David Fries Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed