aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/debugfs.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-04-26 18:25:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-28 14:53:18 -0400
commit8973a6e770fc891f92daacbc1c92c7cd396fcf7e (patch)
tree3e5025263b23db5c7cac9c64af6ba948701de980 /drivers/net/wireless/libertas/debugfs.c
parent47684808fd89d6809c0886e06f8ac324252499d8 (diff)
libertas: use kernel-doc notation, fix comment style
Convert all libertas/ files to use kernel-doc notation instead of whatever it was (doxygen?). Add or fix function parameters in several places. Use expected style for multi-line comments in lots of places. Remove erroneous /** in multiple places. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r--drivers/net/wireless/libertas/debugfs.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c
index fbf3b0332bb7..851fe7bd4ba4 100644
--- a/drivers/net/wireless/libertas/debugfs.c
+++ b/drivers/net/wireless/libertas/debugfs.c
@@ -849,15 +849,14 @@ static struct debug_data items[] = {
849static int num_of_items = ARRAY_SIZE(items); 849static int num_of_items = ARRAY_SIZE(items);
850 850
851/** 851/**
852 * @brief proc read function 852 * lbs_debugfs_read - proc read function
853 * 853 *
854 * @param page pointer to buffer 854 * @file: file to read
855 * @param s read data starting position 855 * @userbuf: pointer to buffer
856 * @param off offset 856 * @count: number of bytes to read
857 * @param cnt counter 857 * @ppos: read data starting position
858 * @param eof end of file flag 858 *
859 * @param data data to output 859 * returns: amount of data read or negative error code
860 * @return number of output data
861 */ 860 */
862static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf, 861static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf,
863 size_t count, loff_t *ppos) 862 size_t count, loff_t *ppos)
@@ -897,13 +896,14 @@ static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf,
897} 896}
898 897
899/** 898/**
900 * @brief proc write function 899 * lbs_debugfs_write - proc write function
900 *
901 * @f: file pointer
902 * @buf: pointer to data buffer
903 * @cnt: data number to write
904 * @ppos: file position
901 * 905 *
902 * @param f file pointer 906 * returns: amount of data written
903 * @param buf pointer to data buffer
904 * @param cnt data number to write
905 * @param data data to write
906 * @return number of data
907 */ 907 */
908static ssize_t lbs_debugfs_write(struct file *f, const char __user *buf, 908static ssize_t lbs_debugfs_write(struct file *f, const char __user *buf,
909 size_t cnt, loff_t *ppos) 909 size_t cnt, loff_t *ppos)
@@ -966,11 +966,11 @@ static const struct file_operations lbs_debug_fops = {
966}; 966};
967 967
968/** 968/**
969 * @brief create debug proc file 969 * lbs_debug_init - create debug proc file
970 *
971 * @priv: pointer to &struct lbs_private
970 * 972 *
971 * @param priv pointer struct lbs_private 973 * returns: N/A
972 * @param dev pointer net_device
973 * @return N/A
974 */ 974 */
975static void lbs_debug_init(struct lbs_private *priv) 975static void lbs_debug_init(struct lbs_private *priv)
976{ 976{