ptp: Fix clock_getres() implementation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2011 20:16:06 +0000 (21:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Dec 2011 10:38:32 +0000 (11:38 +0100)
commitd68fb11c3dae75c8331538dcf083a65e697cc034
tree58e17fb372e78aac7bec64cff201379094c75ff4
parent45e713efe2fa574b6662e7fb63fae9497c5e03d4
ptp: Fix clock_getres() implementation

The clock_getres() function must return the resolution in the timespec
argument and return 0 for success.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Cc: stable@kernel.org
Cc: Richard Cochran <richard.cochran@omicron.at>
drivers/ptp/ptp_clock.c