mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
Using a switch to handle different ev.op values in rfkill_fop_write() makes the code easier to extend, as out-of-range values can always be handled by the default case. Signed-off-by: João Paulo Rechi Vita <[email protected]> [roll in fix for RFKILL_OP_CHANGE from Jouni] Signed-off-by: Johannes Berg <[email protected]>