drivers-rtc-rtc-pcf8563c-use-ptr_ret.patch removed from -mm tree
Subject: [merged] drivers-rtc-rtc-pcf8563c-use-ptr_ret.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:35:00 -0700
The patch titled
Subject: drivers/rtc/rtc-pcf8563.c: use PTR_RET()
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-pcf8563c-use-ptr_ret.patchThis patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Sachin Kamat <[email protected]>
Subject: drivers/rtc/rtc-pcf8563.c: use PTR_RET()
Use of PTR_RET() simplifies the code.
Signed-off-by Sachin Kamat <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/rtc/rtc-pcf8563.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/rtc/rtc-pcf8563.c renamed from drivers/rtc/rtc-pcf8563.c~drivers-rtc-rtc-pcf8563c-use-ptr_ret +1 -2
@@ -20,6 +20,7 @@#include <linux/slab.h> #include <linux/module.h> #include <linux/of.h> +#include <linux/err.h> #define DRV_VERSION "0.4.3"
@@ -263,10 +264,7 @@ static int pcf8563_probe(struct i2c_clie pcf8563_driver.driver.name, &pcf8563_rtc_ops, THIS_MODULE); -if (IS_ERR (pcf8563->rtc)) -return PTR_ERR (pcf8563->rtc);