]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: pmc_atom: dont export pmc_atom_read - no modular users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Apr 2022 06:24:29 +0000 (02:24 -0400)
committerHans de Goede <hdegoede@redhat.com>
Fri, 6 May 2022 11:02:56 +0000 (13:02 +0200)
commit0759065923463323a6a0c958f85bc9521aa838be
treea0a0c1517e8bebc672649a82dbd0fc71074ed528
parentf68bf468ceb4da56e5a85ee11d4cc06f5df237c9
platform/x86: pmc_atom: dont export pmc_atom_read - no modular users

There is only one user of pmc_atom_read in tree, and that is in
drivers/acpi/acpi_lpss.c -- which can't be anything but built-in.

As such there is no point in adding this function to the global symbol
list exported to modules.

Note that there is no <linux/export.h> include removal since the code
was getting that header implicitly.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Aubrey Li <aubrey.li@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Mark Gross <markgross@kernel.org>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Link: https://lore.kernel.org/r/20220428062430.31010-4-paul.gortmaker@windriver.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/pmc_atom.c