commit | 5d885b999c68283c493cf00cc020260d38951ae6 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Dec 04 00:14:17 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 03 13:01:26 2013 +0100 |
tree | 0e835b5e2318bcbf2d2494d45662fa08c1b643df | |
parent | 0ba857ad671aa8aa2a1276aa7a0c79abd0575146 [diff] |
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 <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>