Skip to content

Commit

Permalink
rfkill: remove rfkill-regulator
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jmberg-intel committed Jan 24, 2017
1 parent 57eeb20 commit 1331b62
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 214 deletions.
48 changes: 0 additions & 48 deletions include/linux/rfkill-regulator.h

This file was deleted.

11 changes: 0 additions & 11 deletions net/rfkill/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ config RFKILL_INPUT
depends on INPUT = y || RFKILL = INPUT
default y if !EXPERT

config RFKILL_REGULATOR
tristate "Generic rfkill regulator driver"
depends on RFKILL || !RFKILL
depends on REGULATOR
help
This options enable controlling radio transmitters connected to
voltage regulator using the regulator framework.

To compile this driver as a module, choose M here: the module will
be called rfkill-regulator.

config RFKILL_GPIO
tristate "GPIO RFKILL driver"
depends on RFKILL
Expand Down
1 change: 0 additions & 1 deletion net/rfkill/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
rfkill-y += core.o
rfkill-$(CONFIG_RFKILL_INPUT) += input.o
obj-$(CONFIG_RFKILL) += rfkill.o
obj-$(CONFIG_RFKILL_REGULATOR) += rfkill-regulator.o
obj-$(CONFIG_RFKILL_GPIO) += rfkill-gpio.o
154 changes: 0 additions & 154 deletions net/rfkill/rfkill-regulator.c

This file was deleted.

0 comments on commit 1331b62

Please sign in to comment.