isdn: use %pI4, remove get_{u8/u16/u32} and put_{u8/u16/u32} inlines
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 14 Nov 2008 06:41:29 +0000 (22:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Nov 2008 06:41:29 +0000 (22:41 -0800)
commit00bcd522ea0a62f5e2a9c6ad4924cbbd8d05b026
treece16dea6960f9d745120941c6bd32b3ca5abe769
parent524ad0a79126efabf58d0a49eace6155ab5b4549
isdn: use %pI4, remove get_{u8/u16/u32} and put_{u8/u16/u32} inlines

They would have been better named as get_be16, put_be16, etc.
as they were hiding an endian shift inside.

They don't add much over explicitly coding the byteshifting
and gcc sometimes has a problem with builtin_constant_p inside
inline functions, so it may do a better job of byteswapping
at compile time rather than runtime.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_net.c
drivers/isdn/i4l/isdn_net.h