mbox series

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

Message ID 20220608120358.81147-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series ptp_ocp: set of small cleanups | expand

Message

Andy Shevchenko June 8, 2022, 12:03 p.m. UTC
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(-)