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

Andy Shevchenko posted 5 patches 3 years, 10 months ago
drivers/ptp/ptp_ocp.c | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)
[PATCH net-next v1 0/5] ptp_ocp: set of small cleanups
Posted by Andy Shevchenko 3 years, 10 months ago
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