linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Use PTR_ERR_OR_ZERO directly
@ 2019-09-05  6:43 zhong jiang
  2019-09-05  6:43 ` [PATCH 1/4] bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation zhong jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: zhong jiang @ 2019-09-05  6:43 UTC (permalink / raw)
  To: tony, udeep.dutt, ashutosh.dixit, gregkh, kishon, jonathanh,
	a.zummo, alexandre.belloni
  Cc: zhongjiang, linux-kernel, linux-rtc, arnd, lorenzo.pieralisi

With the help of ptr_ret.cocci, I find some place to use
PTR_ERR_OR_ZERO directly.

zhong jiang (4):
  bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation
  misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation
  phy: tegra: Use PTR_ERR_OR_ZERO rather than its implementation
  rtc: ds1347: Use PTR_ERR_OR_ZERO rather than its implementation

 drivers/bus/ti-sysc.c                | 4 +---
 drivers/misc/mic/scif/scif_epd.h     | 5 ++---
 drivers/phy/tegra/phy-tegra194-p2u.c | 4 +---
 drivers/rtc/rtc-ds1347.c             | 5 +----
 4 files changed, 5 insertions(+), 13 deletions(-)

-- 
1.7.12.4


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

end of thread, other threads:[~2019-09-05  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  6:43 [PATCH 0/4] Use PTR_ERR_OR_ZERO directly zhong jiang
2019-09-05  6:43 ` [PATCH 1/4] bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation zhong jiang
2019-09-05  6:43 ` [PATCH 2/4] misc: mic: " zhong jiang
2019-09-05  6:43 ` [PATCH 3/4] phy: tegra: " zhong jiang
2019-09-05  6:43 ` [PATCH 4/4] rtc: ds1347: " zhong jiang
2019-09-05  7:39   ` Alexandre Belloni
2019-09-05  8:18     ` zhong jiang

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).