[PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux