powerpc: pci-ioda: Use a single function to emit logging messages
authorJoe Perches <joe@perches.com>
Sun, 21 Sep 2014 17:55:06 +0000 (10:55 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:57 +0000 (23:14 +1000)
commit6d31c2fa0eee89e31ca48a66ccfaf71ef545c474
treea30a1bc22d1d24e265fb81dbfa9184df1e42af53
parent45eb47242df87acbf26c0c2c0a7ab677661153c6
powerpc: pci-ioda: Use a single function to emit logging messages

No need for 3 functions when a single one will do.

Modify the function declaring macros to call the single function.

Reduces object code size a little:

$ size arch/powerpc/platforms/powernv/pci-ioda.o*
   text    data     bss     dec     hex filename
  22303    1073    6680   30056    7568 arch/powerpc/platforms/powernv/pci-ioda.o.new
  22840    1121    6776   30737    7811 arch/powerpc/platforms/powernv/pci-ioda.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c