]> git.baikalelectronics.ru Git - kernel.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)
commit2637ffae61a38874ed6032ae08456e491d440d17
treec5248d8918e1c5e0db1a72e52b7645bda7a4a894
parent7c16448328bfc9daa2ff42615fb6159c00d9e437
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