Skip to content

Commit 1331b62

Browse files
committed
rfkill: remove rfkill-regulator
There are no users of this ("vrfkill") in the tree, so it's just dead code - remove it. This also isn't really how rfkill is supposed to be used - it's intended as a signalling mechanism to/from the device, which the driver (and partially cfg80211) will handle - having a separate rfkill instance for a regulator is confusing, the driver should use the regulator instead to turn off the device when requested. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 57eeb20 commit 1331b62

4 files changed

Lines changed: 0 additions & 214 deletions

File tree

‎include/linux/rfkill-regulator.h‎

Lines changed: 0 additions & 48 deletions
This file was deleted.

‎net/rfkill/Kconfig‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ config RFKILL_INPUT
2323
depends on INPUT = y || RFKILL = INPUT
2424
default y if !EXPERT
2525

26-
config RFKILL_REGULATOR
27-
tristate "Generic rfkill regulator driver"
28-
depends on RFKILL || !RFKILL
29-
depends on REGULATOR
30-
help
31-
This options enable controlling radio transmitters connected to
32-
voltage regulator using the regulator framework.
33-
34-
To compile this driver as a module, choose M here: the module will
35-
be called rfkill-regulator.
36-
3726
config RFKILL_GPIO
3827
tristate "GPIO RFKILL driver"
3928
depends on RFKILL

‎net/rfkill/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
rfkill-y += core.o
66
rfkill-$(CONFIG_RFKILL_INPUT) += input.o
77
obj-$(CONFIG_RFKILL) += rfkill.o
8-
obj-$(CONFIG_RFKILL_REGULATOR) += rfkill-regulator.o
98
obj-$(CONFIG_RFKILL_GPIO) += rfkill-gpio.o

‎net/rfkill/rfkill-regulator.c‎

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)