diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-30 13:32:46 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-23 00:54:27 +0400 |
commit | c1c6b14b22af0f85d05a70405dc3fba5de840c7b (patch) | |
tree | f60031dacc62cbab1212856230ce933559b6ea05 /include/linux/rfkill.h | |
parent | f4a11bb0c2d5968ea35f95bdbabdd453862f202a (diff) | |
download | linux-c1c6b14b22af0f85d05a70405dc3fba5de840c7b.tar.xz |
rfkill: remove deprecated state constants
I only did superficial review, but these constants are stupid
to have and without proper warnings nobody will review the
code anyway, no amount of shouting will help.
Also fix wimax to use correct states.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/rfkill.h')
-rw-r--r-- | include/linux/rfkill.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index 164332cbb77c..e1ec7d9aa49c 100644 --- a/include/linux/rfkill.h +++ b/include/linux/rfkill.h @@ -52,14 +52,6 @@ enum rfkill_state { RFKILL_STATE_MAX, /* marker for last valid state */ }; -/* - * These are DEPRECATED, drivers using them should be verified to - * comply with the rfkill usage guidelines in Documentation/rfkill.txt - * and then converted to use the new names for rfkill_state - */ -#define RFKILL_STATE_OFF RFKILL_STATE_SOFT_BLOCKED -#define RFKILL_STATE_ON RFKILL_STATE_UNBLOCKED - /** * struct rfkill - rfkill control structure. * @name: Name of the switch. |