forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/platform/intel-mid/device_libs/platform_bt.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Bluetooth platform data initialization file
34 *
45 * (C) Copyright 2017 Intel Corporation
56 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; version 2
10
- * of the License.
117 */
128
139 #include <linux/gpio/machine.h>
....@@ -64,11 +60,8 @@
6460 .setup = tng_bt_sfi_setup,
6561 };
6662
67
-#define ICPU(model, ddata) \
68
- { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (kernel_ulong_t)&ddata }
69
-
7063 static const struct x86_cpu_id bt_sfi_cpu_ids[] = {
71
- ICPU(INTEL_FAM6_ATOM_SILVERMONT_MID, tng_bt_sfi_data),
64
+ X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, &tng_bt_sfi_data),
7265 {}
7366 };
7467