linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code
@ 2018-08-13 11:31 zhong jiang
  2018-08-13 11:31 ` [PATCH 1/2] rtc:rtc-digicolor: " zhong jiang
  2018-08-13 11:31 ` [PATCH 2/2] rtc:rtc-ds1347: " zhong jiang
  0 siblings, 2 replies; 8+ messages in thread
From: zhong jiang @ 2018-08-13 11:31 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, baruch, linux-rtc, linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-15  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 11:31 [PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code zhong jiang
2018-08-13 11:31 ` [PATCH 1/2] rtc:rtc-digicolor: " zhong jiang
2018-08-14  4:18   ` Baruch Siach
2018-08-14 16:15   ` Alexandre Belloni
2018-08-15  7:16     ` zhong jiang
2018-08-15  8:20       ` Alexandre Belloni
2018-08-13 11:31 ` [PATCH 2/2] rtc:rtc-ds1347: " zhong jiang
2018-08-14  4:18   ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).