iwlwifi: mvm: refactor debugfs copy_from_user()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Nov 2013 08:10:21 +0000 (09:10 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:04 +0000 (22:29 +0200)
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>

No differences found