diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2016-09-21 02:25:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 09:18:33 +0300 |
commit | efee95f42b5dddedcaff0a0eaa44e170fc7522e8 (patch) | |
tree | e5d83b374d57e1bced53af0345db98f0f6cd4373 /Kbuild | |
parent | d270f76c2d6ee3d96cfb1affb78a3d536e0b8fd6 (diff) | |
download | linux-efee95f42b5dddedcaff0a0eaa44e170fc7522e8.tar.xz |
ptp_clock: future-proofing drivers against PTP subsystem becoming optional
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@linaro.org>
Reviewed-by: Eugenia Emantayev <eugenia@mellanox.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions