From: Johannes Berg Date: Mon, 3 Dec 2012 23:14:17 +0000 (+0100) Subject: regulatory: simplify freq_reg_info_regd X-Git-Tag: v3.9-rc1~139^2~242^2^2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d885b999c68283c493cf00cc020260d38951ae6;p=pandora-kernel.git regulatory: simplify freq_reg_info_regd The function itself has dual-purpose: it can retrieve from a given regdomain or from the globally installed one. Change it to have a single purpose only: to look up from a given regdomain. Pass the correct regdomain in the freq_reg_info() function instead. This also changes the locking rules for it, no locking is required any more. Acked-by: Luis R. Rodriguez Signed-off-by: Johannes Berg --- Reading git-diff-tree failed