diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2012-05-08 11:35:37 -0600 | 
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-08 11:35:37 -0600 | 
| commit | 7b96c686223a5c902d6a59c7d178f3904f0ab757 (patch) | |
| tree | fe328ed56ad3719de3cfebad72ef74e34f1ed92b /drivers/net/wireless/ath/ath9k/htc_drv_debug.c | |
| parent | f141ed65f256ec036c7fba604da6b7c448096ef9 (diff) | |
| parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) | |
| download | olio-linux-3.10-7b96c686223a5c902d6a59c7d178f3904f0ab757.tar.xz olio-linux-3.10-7b96c686223a5c902d6a59c7d178f3904f0ab757.zip  | |
Merge tag 'v3.4-rc6' into gpio/next
Linux 3.4-rc6
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_debug.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_debug.c | 26 | 
1 files changed, 10 insertions, 16 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c index d3ff33c71aa..3035deb7a0c 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_debug.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_debug.c @@ -16,12 +16,6 @@  #include "htc.h" -static int ath9k_debugfs_open(struct inode *inode, struct file *file) -{ -	file->private_data = inode->i_private; -	return 0; -} -  static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf,  				       size_t count, loff_t *ppos)  { @@ -75,7 +69,7 @@ static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf,  static const struct file_operations fops_tgt_int_stats = {  	.read = read_file_tgt_int_stats, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -145,7 +139,7 @@ static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf,  static const struct file_operations fops_tgt_tx_stats = {  	.read = read_file_tgt_tx_stats, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -191,7 +185,7 @@ static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf,  static const struct file_operations fops_tgt_rx_stats = {  	.read = read_file_tgt_rx_stats, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -243,7 +237,7 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf,  static const struct file_operations fops_xmit = {  	.read = read_file_xmit, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -364,7 +358,7 @@ static ssize_t read_file_recv(struct file *file, char __user *user_buf,  static const struct file_operations fops_recv = {  	.read = read_file_recv, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -399,7 +393,7 @@ static ssize_t read_file_slot(struct file *file, char __user *user_buf,  static const struct file_operations fops_slot = {  	.read = read_file_slot, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -446,7 +440,7 @@ static ssize_t read_file_queue(struct file *file, char __user *user_buf,  static const struct file_operations fops_queue = {  	.read = read_file_queue, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -487,7 +481,7 @@ static ssize_t write_file_debug(struct file *file, const char __user *user_buf,  static const struct file_operations fops_debug = {  	.read = read_file_debug,  	.write = write_file_debug, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -636,7 +630,7 @@ static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf,  static const struct file_operations fops_base_eeprom = {  	.read = read_file_base_eeprom, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  }; @@ -917,7 +911,7 @@ static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf,  static const struct file_operations fops_modal_eeprom = {  	.read = read_file_modal_eeprom, -	.open = ath9k_debugfs_open, +	.open = simple_open,  	.owner = THIS_MODULE,  	.llseek = default_llseek,  };  |