diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2019-05-28 19:38:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 06:48:53 +0200 |
commit | 17091180b1521ee9b4455d75ab61b35bc0b216ff (patch) | |
tree | 6258da517a7da5ff9938eff8d817d3a874fb2a1d /drivers/hwmon | |
parent | net: phylink: Add PHYLINK_DEV operation type (diff) | |
download | linux-17091180b1521ee9b4455d75ab61b35bc0b216ff.tar.xz linux-17091180b1521ee9b4455d75ab61b35bc0b216ff.zip |
net: phylink: Add phylink_{printk, err, warn, info, dbg} macros
With the latest addition to the PHYLINK infrastructure, we are faced
with a decision on when to print necessary info using the struct
net_device and when with the struct device.
Add a series of macros that encapsulate this decision and replace all
uses of netdev_err&co with phylink_err.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions