summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-07-09 04:38:42 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-07-12 16:00:38 +0300
commite6fbb97da5212ceab7149896832d35fa1ab02f34 (patch)
tree0c8fc8f7abe0c9b0880f0eb0102d8978fa91d715 /tools
parentb02f6a2ef0a14af5c19780521370673f55c1476d (diff)
downloadlinux-e6fbb97da5212ceab7149896832d35fa1ab02f34.tar.xz
platform/x86: mlx-platform: Fix error handling in mlxplat_init()
Add the missing platform_device_unregister() before return from mlxplat_init() in the error handling case. Fixes: 6b266e91a071 ("platform/x86: mlx-platform: Move regmap initialization before all drivers activation") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions