]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: x86-android-tablets: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Wed, 20 Aug 2025 08:51:01 +0000 (16:51 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 28 Aug 2025 11:53:32 +0000 (14:53 +0300)
commitfaec01b1a4998f3747f55e394409bdcb541af319
treef85df5924d373097baead8c20435a22b93d17b16
parent98aadf8e494d2bf66b15d0ef9646ad9fdb6ded15
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>
drivers/platform/x86/x86-android-tablets/core.c