[PATCH net-next v1 0/5] ptp_ocp: set of small cleanups

From: Andy Shevchenko
Date: Wed Jun 08 2022 - 08:04:21 EST


The set of (independent) cleanups against ptp_ocp driver.
Each patch has its own description, no need to repeat it here.

Andy Shevchenko (5):
ptp_ocp: use dev_err_probe()
ptp_ocp: use bits.h macros for all masks
ptp_ocp: drop duplicate NULL check in ptp_ocp_detach()
ptp_ocp: do not call pci_set_drvdata(pdev, NULL)
ptp_ocp: replace kzalloc(x*y) by kcalloc(y, x)

drivers/ptp/ptp_ocp.c | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)

--
2.35.1