[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1534159885-25364-1-git-send-email-zhongjiang@huawei.com>
Date: Mon, 13 Aug 2018 19:31:23 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <a.zummo@...ertech.it>, <alexandre.belloni@...tlin.com>,
<baruch@...s.co.il>, <linux-rtc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code
The issue is detected with the help of Coccinelle.
zhong jiang (2):
rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code
rtc:rtc-ds1347: Use PTR_ERR_OR_ZERO to replace the open code
drivers/rtc/rtc-digicolor.c | 4 +---
drivers/rtc/rtc-ds1347.c | 5 +----
2 files changed, 2 insertions(+), 7 deletions(-)
--
1.7.12.4
Powered by blists - more mailing lists