OSDN Git Service

ptp_qoriq: convert to use ptp_qoriq_init/free
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 12 Feb 2019 04:23:58 +0000 (12:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:58:47 +0000 (12:58 -0500)
commitff54571a747bc1fc8e132ef9c512451ec6de3336
tree6ff20257a4ed5be20202b8c1b10aae0677b3739f
parent73356e4ea895d5d4fb2bed30c32d3293b090f3ce
ptp_qoriq: convert to use ptp_qoriq_init/free

Moved QorIQ PTP clock initialization/free into new functions
ptp_qoriq_init()/ptp_qoriq_free(). These functions could also
be reused by ENETC PTP drvier which is a PCI driver for same
1588 timer IP block.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_qoriq.c
include/linux/fsl/ptp_qoriq.h