]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_scu_wdt: Get rid of custom x86 model comparison
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jul 2018 17:45:36 +0000 (20:45 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Jan 2021 18:05:32 +0000 (20:05 +0200)
commit5d1d8ef355bb1ac12219257a8f4e5157656fb47a
treeae7e2449af76bd21e9e153357fe9f235b575e1da
parentd8318be50b6afc8b8b0af6abdb5f0b357440b0b1
platform/x86: intel_scu_wdt: Get rid of custom x86 model comparison

Switch the platform code to use x86_id_table and accompanying API
instead of custom comparison against x86 CPU model.

This is one of the last users of custom API for that and following
changes will remove it for the good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/platform/x86/intel_scu_wdt.c