linux/arch/x86/platform/olpc
zhong jiang c7ba9f7cb5 x86/platform/olpc: Use PTR_ERR_OR_ZERO()
Replace the open coded equivalent with PTR_ERR_OR_ZERO().

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1533053286-34990-1-git-send-email-zhongjiang@huawei.com
2018-08-02 14:25:40 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
olpc-xo1-pm.c x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3() 2017-06-13 08:48:09 +02:00
olpc-xo1-rtc.c x86, olpc: Add XO-1 RTC driver 2011-07-06 14:44:42 -07:00
olpc-xo1-sci.c x86/olpc/xo1/sci: Use newly added power_supply_put API 2015-03-13 23:15:53 +01:00
olpc-xo15-sci.c x86/platform/olpc: Fix resume handler build warning 2016-11-28 07:46:03 +01:00
olpc.c x86/platform/olpc: Use PTR_ERR_OR_ZERO() 2018-08-02 14:25:40 +02:00
olpc_dt.c x86, olpc: Add missing elements to device tree 2011-07-06 14:44:19 -07:00
olpc_ofw.c x86/platform: Audit and remove any unnecessary uses of module.h 2016-07-14 15:06:59 +02:00
xo1-wakeup.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00