Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read & write functions

2014-06-12 Thread Dan Carpenter
On Thu, Jun 12, 2014 at 03:52:33PM +0530, navin patidar wrote: > On Thu, Jun 12, 2014 at 1:13 PM, Dan Carpenter > wrote: > > On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: > >> diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c > >> b/drivers/staging/rtl8188eu/core/rtw_io.c >

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read & write functions

2014-06-12 Thread navin patidar
On Thu, Jun 12, 2014 at 1:13 PM, Dan Carpenter wrote: > On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: >> diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c >> b/drivers/staging/rtl8188eu/core/rtw_io.c >> index a0a31e6..85306bf 100644 >> ---

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read & write functions

2014-06-12 Thread Dan Carpenter
On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: > diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c > b/drivers/staging/rtl8188eu/core/rtw_io.c > index a0a31e6..85306bf 100644 > --- a/drivers/staging/rtl8188eu/core/rtw_io.c > +++ b/drivers/staging/rtl8188eu/core/rtw_io.c > @@

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read write functions

2014-06-12 Thread Dan Carpenter
On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c b/drivers/staging/rtl8188eu/core/rtw_io.c index a0a31e6..85306bf 100644 --- a/drivers/staging/rtl8188eu/core/rtw_io.c +++ b/drivers/staging/rtl8188eu/core/rtw_io.c @@ -57,10

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read write functions

2014-06-12 Thread navin patidar
On Thu, Jun 12, 2014 at 1:13 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c b/drivers/staging/rtl8188eu/core/rtw_io.c index a0a31e6..85306bf 100644 ---

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read write functions

2014-06-12 Thread Dan Carpenter
On Thu, Jun 12, 2014 at 03:52:33PM +0530, navin patidar wrote: On Thu, Jun 12, 2014 at 1:13 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c

[PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read & write functions

2014-06-11 Thread navin patidar
intf_hdl is passed in usb_[read,write][8,16,32]() functions, which is then passed to vender_request() there it's used to get adapter pointer, so instead of passing intf_hdl we can directly pass adapter. This change will also help in removing rtw_[read,write][8,16,32]() wrapper functions being

[PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read write functions

2014-06-11 Thread navin patidar
intf_hdl is passed in usb_[read,write][8,16,32]() functions, which is then passed to vender_request() there it's used to get adapter pointer, so instead of passing intf_hdl we can directly pass adapter. This change will also help in removing rtw_[read,write][8,16,32]() wrapper functions being