ptp: link the phc device to its parent device
authorRichard Cochran <richardcochran@gmail.com>
Sat, 22 Sep 2012 07:02:03 +0000 (07:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2012 19:42:38 +0000 (15:42 -0400)
commit1ef761582c074448bae5be97abde5934667e7710
treefc4679a8f28897043be34fda0465562be66d7f55
parent5c35bad5ffe5accde6b0ef4468b39e1db0806b94
ptp: link the phc device to its parent device

PTP Hardware Clock devices appear as class devices in sysfs. This patch
changes the registration API to use the parent device, clarifying the
clock's relationship to the underlying device.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ptp.c
drivers/net/ethernet/intel/igb/igb_ptp.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
drivers/net/ethernet/sfc/ptp.c
drivers/net/phy/dp83640.c
drivers/ptp/ptp_clock.c
drivers/ptp/ptp_ixp46x.c
drivers/ptp/ptp_pch.c
include/linux/ptp_clock_kernel.h