]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ravb: use pdev rather than ndev for error messages
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 2 Nov 2015 01:40:17 +0000 (10:40 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2015 21:32:37 +0000 (16:32 -0500)
commitc451113291c193d3bfbd0682011d2979d649010c
treec5248d8918e1c5e0db1a72e52b7645bda7a4a894
parent9e17f8a475fca81950fdddc08df428ed66cf441f
ravb: use pdev rather than ndev for error messages

This corrects what appear to be typos, making the code consistent with
itself, and allowing meaningful prefixes to be displayed with the errors in
question.

Before:
 (null): failed to initialize MDIO
 (null): Cannot allocate desc base address table (size 176 bytes)

After:
ravb e6800000.ethernet: failed to initialize MDIO
ravb e6800000.ethernet: Cannot allocate desc base address table (size 176 bytes)

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c