linux/drivers/pps
YueHaibing 3b1ad360ac pps: using ERR_PTR instead of NULL while pps_register_source fails
pps_register_source() has keeps error codes in a local variable,
but it does not make use of the code. This patch let it return
the errcode in case of failure.

Suggested-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-27 10:05:36 +01:00
..
clients pps: using ERR_PTR instead of NULL while pps_register_source fails 2018-11-27 10:05:36 +01:00
generators pps: generator: use new parport device model 2018-03-14 17:53:06 +01:00
kapi.c pps: using ERR_PTR instead of NULL while pps_register_source fails 2018-11-27 10:05:36 +01:00
kc.c ntp/pps: use y2038 safe types in pps_event_time 2015-10-01 09:59:16 -07:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
Kconfig drivers/pps: use surrounding "if PPS" to remove numerous dependency checks 2017-09-08 18:26:51 -07:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
pps.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
sysfs.c PPS: convert class code to use dev_groups 2013-08-19 21:22:34 -07:00