Replace pr_*() calls with dev_*() and netdev_*() across the octeon
ethernet drivers to include device information in log messages, as
suggested by Greg KH.
v2:
- Instead of adding pr_fmt() macros, replace pr_*() calls with
proper dev_*() and netdev_*() calls
- Thread device pointer through call chains via function parameters
- Introduce struct octeon_ethernet_platform to pass device pointer
through work queue callbacks via container_of
- Store device pointer in oct_rx_group for NAPI poll functions
- Use dev_id in interrupt handler to pass and retrieve device pointer
AyushMukkanwar (2):
staging: octeon: ethernet-spi: replace pr_err with dev_err
staging: octeon: ethernet: replace pr_* with dev_* and netdev_*
drivers/staging/octeon/ethernet-mem.c | 26 ++++++------
drivers/staging/octeon/ethernet-mem.h | 4 +-
drivers/staging/octeon/ethernet-rx.c | 6 ++-
drivers/staging/octeon/ethernet-rx.h | 6 +--
drivers/staging/octeon/ethernet-spi.c | 59 +++++++++++++-------------
drivers/staging/octeon/ethernet.c | 61 ++++++++++++++++-----------
6 files changed, 89 insertions(+), 73 deletions(-)
--
2.53.0