diff options
author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-20 16:51:01 +0800 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-08-28 14:53:32 +0300 |
commit | faec01b1a4998f3747f55e394409bdcb541af319 (patch) | |
tree | f85df5924d373097baead8c20435a22b93d17b16 /drivers/platform/x86/intel/pmc | |
parent | 98aadf8e494d2bf66b15d0ef9646ad9fdb6ded15 (diff) |
platform/x86: x86-android-tablets: Remove the use of dev_err_probe()
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250820085101.395377-1-zhao.xichao@vivo.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmc')
0 files changed, 0 insertions, 0 deletions