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
..
2012-07-26 14:28:55 -07:00
2012-07-27 15:14:26 -07:00
2012-07-30 17:25:12 -07:00
2012-07-26 11:25:33 -07:00
2012-07-27 11:15:03 -04:00
2012-07-22 13:36:52 -07:00
2012-07-26 14:18:18 -07:00
2012-07-30 17:25:13 -07:00
2012-07-23 16:31:31 -07:00
2012-07-24 13:34:56 -07:00
2012-07-26 14:28:55 -07:00
2012-07-26 20:29:52 -07:00
2012-07-24 17:12:54 -07:00
2012-07-30 17:25:17 -07:00
2012-07-26 13:56:38 -07:00
2012-07-26 14:18:18 -07:00
2012-07-24 22:43:04 -07:00
2012-07-24 13:34:56 -07:00
2012-07-30 17:25:12 -07:00
2012-07-26 14:28:55 -07:00
2012-07-24 13:56:26 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 16:24:11 -07:00
2012-07-27 08:16:07 +08:00
2012-07-30 17:25:16 -07:00
2012-07-30 17:25:16 -07:00
2012-07-30 17:25:17 -07:00
2012-07-28 13:43:12 -07:00
2012-07-30 17:25:13 -07:00
2012-07-26 20:29:52 -07:00
2012-07-25 21:37:09 +02:00
2012-07-30 17:25:12 -07:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 14:05:46 -07:00
2012-07-26 14:28:55 -07:00
2012-07-26 11:25:33 -07:00
2012-07-30 17:25:21 -07:00
2012-07-24 18:11:22 -07:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-07-30 17:25:19 -07:00
2012-07-26 18:09:01 -07:00
2012-07-25 15:58:48 -04:00
2012-07-20 16:42:59 +09:00
2012-07-26 12:57:41 -07:00
2012-07-26 14:18:18 -07:00
2012-07-21 02:44:13 -07:00
Merge branches 'acpi_pad', 'acpica', 'apei-bugzilla-43282', 'battery', 'cpuidle-coupled', 'cpuidle-tweaks', 'intel_idle-ivb', 'ost', 'red-hat-bz-772730', 'thermal', 'thermal-spear' and 'turbostat-v2' into release
2012-07-26 00:03:58 -04:00
2012-07-27 15:14:26 -07:00
2012-07-30 17:25:12 -07:00
2012-07-22 01:22:23 +03:00
2012-07-30 17:25:15 -07:00
2012-07-20 08:59:03 +01:00
2012-07-26 11:25:33 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 16:17:07 -07:00