lkml.org 
[lkml]   [2018]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code
Date
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

\
 
 \ /
  Last update: 2018-08-13 13:43    [W:0.039 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site