mfd: intel-lpss: Revert "Add missing check for platform_get_resource"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Nov 2023 19:31:24 +0000 (21:31 +0200)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 13:50:29 +0000 (13:50 +0000)
commit3b6dba220e67eda42f1263403fbbba64992da3ae
tree985fc9af9d6baee6f26ec9155ace9f8d5a85f573
parentd19e5510c84db2cfb60aa187b1cb1a25cb23df52
mfd: intel-lpss: Revert "Add missing check for platform_get_resource"

This reverts commit d918e0d5824495a75d00b879118b098fcab36fdb.

The commit in question does not fix anything and only introduces
a duplication in the code. The main intel_lpss_probe() performs
all necessary checks.

While at it and in order of avoiding similar patches to come, add
a comment.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231124200258.3682979-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel-lpss-acpi.c
drivers/mfd/intel-lpss-pci.c