OpenCloudOS-Kernel/net/rfkill
João Paulo Rechi Vita 1948b2a2ec rfkill: Use switch to demux userspace operations
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 <jprvita@endlessm.com>
[roll in fix for RFKILL_OP_CHANGE from Jouni]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-04-05 10:48:53 +02:00
..
Kconfig net: rfkill: gpio: remove rfkill_gpio_platform_data 2016-02-24 09:13:09 +01:00
Makefile net: rfkill: add generic gpio rfkill driver 2011-05-19 13:53:54 -04:00
core.c rfkill: Use switch to demux userspace operations 2016-04-05 10:48:53 +02:00
input.c rfkill: don't use [delayed_]work_pending() 2012-12-28 13:40:16 -08:00
rfkill-gpio.c net: rfkill: gpio: remove rfkill_gpio_platform_data 2016-02-24 09:13:09 +01:00
rfkill-regulator.c net: rfkill: drop owner assignment from platform_drivers 2014-10-20 16:21:58 +02:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00