treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 03_gpio_switches
index 2b18741cd93679ff14b5e197c5537fae63049d40..add7e47e857c9c9f44f72feb1a2023accb8f8ca3 100755 (executable)
@@ -4,11 +4,10 @@
 #
 
 . /lib/functions/uci-defaults.sh
-. /lib/ar71xx.sh
 
 board_config_update
 
-board=$(ar71xx_board_name)
+board=$(board_name)
 
 case "$board" in
 nanostation-m)