diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-11 15:03:37 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-11 06:37:13 +0300 |
commit | 2738b767be548d6397a74141c18182fddd8abfc3 (patch) | |
tree | f8c41cb1d3ff3d2c896a38da8562d1a215bc3367 /drivers/hwmon/ltc2945.c | |
parent | a54ca77a98a311bf0488fd9004c5b691454ff917 (diff) | |
download | linux-2738b767be548d6397a74141c18182fddd8abfc3.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/ltc2945.c')
0 files changed, 0 insertions, 0 deletions