commit | 2738b767be548d6397a74141c18182fddd8abfc3 | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Tue Sep 11 20:03:37 2018 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Oct 10 20:37:13 2018 -0700 |
tree | f8c41cb1d3ff3d2c896a38da8562d1a215bc3367 | |
parent | a54ca77a98a311bf0488fd9004c5b691454ff917 [diff] |
hwmon: (asus_atk0110) Use PTR_ERR_OR_ZERO instead of reimplementing its function PTR_ERR_OR_ZERO has implemented the same function. We prefer to use inlined function rather than code-opened implementation. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>