Devendra Naga 7ead55119b rtc/rtc-88pm80x: assign ret only when rtc_register_driver fails
At the probe we are assigning ret to return value of PTR_ERR right after
the rtc_register_drive()r, as we would have done it in the if
(IS_ERR(ptr)) check, since the function fails and goes inside that case

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Ashish Jangam <ashish.jangam@kpitcummins.com>
Cc: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-31 18:42:50 -07:00
..
2012-07-23 16:31:31 -07:00
2012-07-30 09:45:53 -07:00
2012-07-26 20:29:52 -07:00
2012-07-29 21:11:05 -03:00
2012-07-30 12:41:17 -07:00
2012-07-30 09:32:39 -07:00
2012-07-30 12:41:17 -07:00
2012-07-24 22:43:04 -07:00
2012-07-15 17:33:17 +01:00
2012-07-30 12:41:17 -07:00
2012-07-24 16:24:11 -07:00
2012-07-30 12:41:17 -07:00
2012-07-26 20:29:52 -07:00
2012-07-09 16:42:24 -04:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 14:05:46 -07:00
2012-07-26 11:25:33 -07:00
2012-07-26 11:25:33 -07:00
2012-07-24 16:17:07 -07:00