commit | 648b50dd6abf8e6e5b589bb8e6873a4596389dbe | [log] [tgz] |
---|---|---|
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | Mon Jan 25 12:03:46 2016 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Feb 24 09:12:45 2016 +0100 |
tree | e526a0a913b67e209252863132e75c55019c1557 | |
parent | 7837a7778268191dae5f6622f2b92b8b37cb8d7f [diff] |
net: rfkill: add rfkill_find_type function Helper for finding the type based on name. Useful if the type needs to be determined based on device property. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> [modify rfkill_types array and BUILD_BUG_ON to not cause errors] Signed-off-by: Johannes Berg <johannes.berg@intel.com>