commit | 1fa3f57a1ca19ad45ff5fa248d509fc442e82a63 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Nov 13 09:10:21 2013 +0100 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Dec 09 22:29:04 2013 +0200 |
tree | a424611bc2bc266b8a933d5b931b52c6f8337e9f | |
parent | 7f09d70436729dee9dfa7ab11fda9d384c4bdf9f [diff] |
iwlwifi: mvm: refactor debugfs copy_from_user() Abstract the copy_from_user() pattern into the macros defining debugfs files, reducing the code and making adding new files safer by avoiding having deal with copy_from_user() directly. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>