return 0;
 }
 
-int regulatory_hint_indoor(bool is_indoor, u32 portid)
+void regulatory_hint_indoor(bool is_indoor, u32 portid)
 {
        spin_lock(®_indoor_lock);
 
 
        if (!is_indoor)
                reg_check_channels();
-
-       return 0;
 }
 
 void regulatory_netlink_notify(u32 portid)
        return false;
 }
 
-int regulatory_hint_found_beacon(struct wiphy *wiphy,
-                                struct ieee80211_channel *beacon_chan,
-                                gfp_t gfp)
+void regulatory_hint_found_beacon(struct wiphy *wiphy,
+                                 struct ieee80211_channel *beacon_chan,
+                                 gfp_t gfp)
 {
        struct reg_beacon *reg_beacon;
        bool processing;
            beacon_chan->flags & IEEE80211_CHAN_RADAR ||
            (beacon_chan->band == NL80211_BAND_2GHZ &&
             !freq_is_chan_12_13_14(beacon_chan->center_freq)))
-               return 0;
+               return;
 
        spin_lock_bh(®_pending_beacons_lock);
        processing = pending_reg_beacon(beacon_chan);
        spin_unlock_bh(®_pending_beacons_lock);
 
        if (processing)
-               return 0;
+               return;
 
        reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp);
        if (!reg_beacon)
-               return -ENOMEM;
+               return;
 
        pr_debug("Found new beacon on frequency: %d.%03d MHz (Ch %d) on %s\n",
                 beacon_chan->center_freq, beacon_chan->freq_offset,
        spin_unlock_bh(®_pending_beacons_lock);
 
        schedule_work(®_work);
-
-       return 0;
 }
 
 static void print_rd_rules(const struct ieee80211_regdomain *rd)
 
  * device is operating in an indoor environment.
  * @portid: the netlink port ID on which the hint was given.
  */
-int regulatory_hint_indoor(bool is_indoor, u32 portid);
+void regulatory_hint_indoor(bool is_indoor, u32 portid);
 
 /**
  * regulatory_netlink_notify - notify on released netlink socket
  * on a newly found BSS. If you cannot make use of this feature you can
  * set the wiphy->disable_beacon_hints to true.
  */
-int regulatory_hint_found_beacon(struct wiphy *wiphy,
-                                struct ieee80211_channel *beacon_chan,
-                                gfp_t gfp);
+void regulatory_hint_found_beacon(struct wiphy *wiphy,
+                                 struct ieee80211_channel *beacon_chan,
+                                 gfp_t gfp);
 
 /**
  * regulatory_hint_country_ie - hints a country IE as a regulatory domain