summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/touchscreen_dmi.c
diff options
context:
space:
mode:
authorWei Yongjun2018-08-08 06:00:30 +0200
committerAndy Shevchenko2018-08-15 11:55:32 +0200
commit207da7128a6d61a1ce3d052b3dfb10d237af6078 (patch)
tree8e41ac7ad88d8f0d971b854d6d33c971bcf03905 /drivers/platform/x86/touchscreen_dmi.c
parentplatform/x86: mlx-platform: Remove unused define (diff)
downloadkernel-qcow2-linux-207da7128a6d61a1ce3d052b3dfb10d237af6078.tar.gz
kernel-qcow2-linux-207da7128a6d61a1ce3d052b3dfb10d237af6078.tar.xz
kernel-qcow2-linux-207da7128a6d61a1ce3d052b3dfb10d237af6078.zip
platform/x86: mlx-platform: Fix copy-paste error in mlxplat_init()
The return value from platform_device_register_resndata() is not checked correctly. The test is done against a wrong variable. This patch fix it. Fixes: 0378123c5800 ("platform/x86: mlx-platform: Add mlxreg-fan platform driver activation") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/touchscreen_dmi.c')
0 files changed, 0 insertions, 0 deletions