net: fec_ptp: Use dev_err() instead of pr_err()
authorFabio Estevam <festevam@gmail.com>
Wed, 5 Jun 2019 13:10:35 +0000 (10:10 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2019 19:12:40 +0000 (12:12 -0700)
commit11694b03616b2a03cd7e3f0897d4d086c7fbc4b5
treefe856716b6ca93c8638df154ddee4572287be1a7
parente88e17fd40efc4a9d7fe6182d61b8ded34d0bc37
net: fec_ptp: Use dev_err() instead of pr_err()

dev_err() is more appropriate for printing error messages inside
drivers, so switch to dev_err().

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_ptp.c