wireless: make the reg_notifier() void
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 11 Jan 2013 18:39:36 +0000 (18:39 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 14 Jan 2013 10:32:44 +0000 (11:32 +0100)
commit0c0280bd0ba410326eecdaeb1b936696eda6381d
treed7d2795b3418db1c5b9ffa971c7beeaa2245b0fe
parent55b183ad8635589ea731a31653de79a2626491c4
wireless: make the reg_notifier() void

The reg_notifier()'s return value need not be checked
as it is only supposed to do post regulatory work and
that should never fail. Any behaviour to regulatory
that needs to be considered before cfg80211 does work
to a driver should be specified by using the already
existing flags, the reg_notifier() just does post
processing should it find it needs to.

Also make lbs_reg_notifier static.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[move lbs_reg_notifier to not break compile]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
15 files changed:
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/carl9170/main.c
drivers/net/wireless/ath/regd.c
drivers/net/wireless/ath/regd.h
drivers/net/wireless/brcm80211/brcmsmac/channel.c
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/cfg.h
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/rtlwifi/regd.c
drivers/net/wireless/rtlwifi/regd.h
drivers/net/wireless/ti/wlcore/main.c
include/net/cfg80211.h