mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
According to commitfad7c90209("err.h: remove deprecated PTR_RET for good"). Initially, commitfa9ee9c4b9("include/linux/err.h: add a function to cast error-pointers to a return value") from Uwe Kleine-König introduced PTR_RET in 03/2011. Then, in 07/2013, commit6e8b8726ad("PTR_RET is now PTR_ERR_OR_ZERO") from Rusty Russell renamed PTR_RET to PTR_ERR_OR_ZERO, and left PTR_RET as deprecated-marked alias. After six years since the renaming and various repeated cleanups in the meantime, it is time to finally remove the deprecated PTR_RET for good. Change-Id: I2b5d464dc1c6bc0409e41dd9da503f14bef17dc7 Signed-off-by: Tao Huang <huangtao@rock-chips.com>