acpi.c (36ec807b627b4c0a0a382f0ae48eac7187d14b2b) acpi.c (e70140ba0d2b1a30467d4af6bcfe761327b9ec95)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Intel(R) Trace Hub ACPI driver
4 *
5 * Copyright (C) 2017 Intel Corporation.
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 55 unchanged lines hidden (view full) ---

64{
65 struct intel_th *th = platform_get_drvdata(pdev);
66
67 intel_th_free(th);
68}
69
70static struct platform_driver intel_th_acpi_driver = {
71 .probe = intel_th_acpi_probe,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Intel(R) Trace Hub ACPI driver
4 *
5 * Copyright (C) 2017 Intel Corporation.
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 55 unchanged lines hidden (view full) ---

64{
65 struct intel_th *th = platform_get_drvdata(pdev);
66
67 intel_th_free(th);
68}
69
70static struct platform_driver intel_th_acpi_driver = {
71 .probe = intel_th_acpi_probe,
72 .remove_new = intel_th_acpi_remove,
72 .remove = intel_th_acpi_remove,
73 .driver = {
74 .name = DRIVER_NAME,
75 .acpi_match_table = intel_th_acpi_ids,
76 },
77};
78
79module_platform_driver(intel_th_acpi_driver);
80
81MODULE_LICENSE("GPL v2");
82MODULE_DESCRIPTION("Intel(R) Trace Hub ACPI controller driver");
83MODULE_AUTHOR("Alexander Shishkin <alexander.shishkin@intel.com>");
73 .driver = {
74 .name = DRIVER_NAME,
75 .acpi_match_table = intel_th_acpi_ids,
76 },
77};
78
79module_platform_driver(intel_th_acpi_driver);
80
81MODULE_LICENSE("GPL v2");
82MODULE_DESCRIPTION("Intel(R) Trace Hub ACPI controller driver");
83MODULE_AUTHOR("Alexander Shishkin <alexander.shishkin@intel.com>");