Re: [PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Dan Carpenter
On Thu, Apr 18, 2013 at 09:58:38AM -0700, Andrey Smirnov wrote: > Fix incorrect pointer checking and make some minor code improvements: > > * Remove unnecessary elements from function pointer table(vtable), > that includes all the elements that are FM-only, this allows for not > checking of

[PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Andrey Smirnov
Fix incorrect pointer checking and make some minor code improvements: * Remove unnecessary elements from function pointer table(vtable), that includes all the elements that are FM-only, this allows for not checking of the fucntion pointer and calling of the function directly(THe check if

[PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Andrey Smirnov
Fix incorrect pointer checking and make some minor code improvements: * Remove unnecessary elements from function pointer table(vtable), that includes all the elements that are FM-only, this allows for not checking of the fucntion pointer and calling of the function directly(THe check if

Re: [PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Dan Carpenter
On Thu, Apr 18, 2013 at 09:58:38AM -0700, Andrey Smirnov wrote: Fix incorrect pointer checking and make some minor code improvements: * Remove unnecessary elements from function pointer table(vtable), that includes all the elements that are FM-only, this allows for not checking of the