Re: [PATCH 01/04] smc91x: pass along private data V2

2008-02-22 Thread Nicolas Pitre
On Fri, 22 Feb 2008, Magnus Damm wrote: > Pass a private data pointer to macros and functions. This makes it easy > to later on make run time decisions. This patch does not change any logic. > These changes should be optimized away during compilation. > > V2 changes the macro argument name from "

[PATCH 01/04] smc91x: pass along private data V2

2008-02-22 Thread Magnus Damm
Pass a private data pointer to macros and functions. This makes it easy to later on make run time decisions. This patch does not change any logic. These changes should be optimized away during compilation. V2 changes the macro argument name from "priv" to "lp". Signed-off-by: Magnus Damm <[EMAIL

Re: [PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Nicolas Pitre
On Thu, 21 Feb 2008, Magnus Damm wrote: > On Thu, Feb 21, 2008 at 12:42 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote: > > On Wed, 20 Feb 2008, Magnus Damm wrote: > > > > > Pass a private data pointer to macros and functions. This makes it easy > > > to later on make run time decisions. This patch

Re: [PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Magnus Damm
On Thu, Feb 21, 2008 at 12:42 AM, Nicolas Pitre <[EMAIL PROTECTED]> wrote: > On Wed, 20 Feb 2008, Magnus Damm wrote: > > > Pass a private data pointer to macros and functions. This makes it easy > > to later on make run time decisions. This patch does not change any logic. > > These changes shou

Re: [PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Nicolas Pitre
On Wed, 20 Feb 2008, Magnus Damm wrote: > Pass a private data pointer to macros and functions. This makes it easy > to later on make run time decisions. This patch does not change any logic. > These changes should be optimized away during compilation. > > Signed-off-by: Magnus Damm <[EMAIL PROTEC

[PATCH 01/04] smc91x: pass along private data

2008-02-20 Thread Magnus Damm
Pass a private data pointer to macros and functions. This makes it easy to later on make run time decisions. This patch does not change any logic. These changes should be optimized away during compilation. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- drivers/net/smc91x.c | 309 +++