hwmon: (asus_atk0110) Use PTR_ERR_OR_ZERO instead of reimplementing its function
authorzhong jiang <zhongjiang@huawei.com>
Tue, 11 Sep 2018 12:03:37 +0000 (20:03 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit2738b767be548d6397a74141c18182fddd8abfc3
treef8c41cb1d3ff3d2c896a38da8562d1a215bc3367
parenta54ca77a98a311bf0488fd9004c5b691454ff917
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>
drivers/hwmon/asus_atk0110.c