diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-10-08 15:44:30 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 10:23:22 -0700 |
commit | 590ac2ffde325da25371e169fc71826f2d118b6b (patch) | |
tree | 1787846466e89819c01d9db03cd05dc79ce628ad /drivers/net/phy | |
parent | 15b49f360c7a4f91eace4f601b4d669a1b248c7c (diff) |
net: dpaa2: fix and improve dpaa2-ptp driver
This patch is to fix and improve dpaa2-ptp driver
in some places.
- Fixed the return for some functions.
- Replaced kzalloc with devm_kzalloc.
- Removed dev_set_drvdata(dev, NULL).
- Made ptp_dpaa2_caps const.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions