Re: [PATCH] ptp_clock: future-proofing drivers against PTP subsystem becoming optional

From: Richard Cochran
Date: Wed Sep 21 2016 - 04:45:52 EST

On Tue, Sep 20, 2016 at 07:25:58PM -0400, Nicolas Pitre wrote:
> Drivers must be ready to accept NULL from ptp_clock_register() if the
> PTP clock subsystem is configured out.
> This patch documents that and ensures that all drivers cope well
> with a NULL return.
> Signed-off-by: Nicolas Pitre <nico@xxxxxxxxxx>
> Reviewed-by: Eugenia Emantayev <eugenia@xxxxxxxxxxxx>
> ---
> Let's have the basics merged now and work out the actual Kconfig issue
> separately. Richard, if you agree with this patch, I think this could go
> via the netdev tree.

It looks ok to me.

Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>