Home
last modified time | relevance | path

Searched hist:"0548745 fa335a4665b039b9fd8e121339932c24b" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/dca/
H A Ddca-sysfs.cdiff 0548745fa335a4665b039b9fd8e121339932c24b Thu May 07 13:12:24 CEST 2020 Tang Bin <tangbin@cmss.chinamobile.com> dca: Use PTR_ERR_OR_ZERO() to simplify code

The function PTR_ERR_OR_ZERO() contains the check of
IS_ERR() and the return of PTR_ERR() or zero.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200507111224.4176-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>