2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/drivers/pps
Emil Goode 668f06b9fb pps: return PTR_ERR on error in device_create
We should return PTR_ERR if the call to the device_create function fails.
Without this patch we instead return the value from a successful call to
cdev_add if the call to device_create fails.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Acked-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-30 17:25:21 -07:00
..
clients pps gpio client: add missing dependency 2011-11-02 16:07:02 -07:00
generators pps: remove unreachable code 2011-03-22 17:44:17 -07:00
kapi.c pps: default echo function 2011-11-02 16:07:02 -07:00
kc.c pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
pps.c pps: return PTR_ERR on error in device_create 2012-07-30 17:25:21 -07:00
sysfs.c LinuxPPS: core support 2009-06-18 13:04:04 -07:00