diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-11-27 04:09:38 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-12-03 20:40:03 +0100 |
commit | 9a92ed29ca961f118b45a2893416df753c287845 (patch) | |
tree | ddfb930b0eb5c31c972099d855717df43e0d2896 /drivers/nvmem | |
parent | iio: inv_mpu6050: Use i2c_acpi_get_i2c_resource() helper (diff) | |
download | linux-9a92ed29ca961f118b45a2893416df753c287845.tar.xz linux-9a92ed29ca961f118b45a2893416df753c287845.zip |
platform/x86: intel_ips: remove unnecessary checks in ips_debugfs_init
As Greg KH explained in:
https://lkml.org/lkml/2015/8/15/114
There no need to check the return value of debugfs_create_file() and
debugfs_create_dir().
This also fix static code checker warnings:
drivers/platform/x86/intel_ips.c:1314
ips_debugfs_init() warn: passing zero to 'PTR_ERR'
drivers/platform/x86/intel_ips.c:1328
ips_debugfs_init() warn: passing zero to 'PTR_ERR'
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions