summaryrefslogtreecommitdiff
path: root/drivers/hwmon/scpi-hwmon.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-11 15:03:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2018-10-11 06:37:13 +0300
commit2738b767be548d6397a74141c18182fddd8abfc3 (patch)
treef8c41cb1d3ff3d2c896a38da8562d1a215bc3367 /drivers/hwmon/scpi-hwmon.c
parenta54ca77a98a311bf0488fd9004c5b691454ff917 (diff)
downloadlinux-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/scpi-hwmon.c')
0 files changed, 0 insertions, 0 deletions