diff options
author | Manikanta <mmaddireddy@nvidia.com> | 2013-11-28 09:08:58 +0530 |
---|---|---|
committer | Bitan Biswas <bbiswas@nvidia.com> | 2013-12-02 03:43:03 -0800 |
commit | a580753a9b6f66f46333d5bdfcf429c590d2f616 (patch) | |
tree | c065ab4182c193b03f204903e46f7414cab44af3 /drivers/bluetooth | |
parent | 4408e2f3a6e266f07f4e299433cd6ac024f580f5 (diff) |
Revert "Revert "net: wireless: Update SD8797 driver for 3.10""
This reverts commit a2408edd2d92aa600c4221be4fb2f3c5b048cfdf.
Bug 1416075
Change-Id: Ie6a4735d29c891f0210215b1f8a4f8e2134192d3
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/336482
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/sd8797/bt/bt_proc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/bluetooth/sd8797/bt/bt_proc.c b/drivers/bluetooth/sd8797/bt/bt_proc.c index 08ebd6522397..315598540f58 100644 --- a/drivers/bluetooth/sd8797/bt/bt_proc.c +++ b/drivers/bluetooth/sd8797/bt/bt_proc.c @@ -348,8 +348,7 @@ proc_write(struct file *file, static void proc_on_close(struct inode *inode, struct file *file) { - struct proc_dir_entry *entry = PDE(inode); - struct proc_private_data *priv = entry->data; + struct proc_private_data *priv = PDE_DATA(inode); struct proc_data *pdata = file->private_data; char *line; int i; @@ -398,8 +397,7 @@ proc_on_close(struct inode *inode, struct file *file) static int proc_open(struct inode *inode, struct file *file) { - struct proc_dir_entry *entry = PDE(inode); - struct proc_private_data *priv = entry->data; + struct proc_private_data *priv = PDE_DATA(inode); struct proc_data *pdata; int i; char *p; |