diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-24 13:27:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-24 15:35:48 +0100 |
commit | 3e44d5c9e987c32e5bdc9de2c166f622cc81e15d (patch) | |
tree | 3ccb67f1d13b91d9bc47a23136e941ae6d8148ab /drivers/base/physical_location.h | |
parent | driver core: base.h: remove extern from function prototypes (diff) | |
download | linux-3e44d5c9e987c32e5bdc9de2c166f622cc81e15d.tar.xz linux-3e44d5c9e987c32e5bdc9de2c166f622cc81e15d.zip |
driver core: physical_location.h remove extern from function prototypes
The kernel coding style does not require 'extern' in function prototypes
in .h files, so remove them from drivers/base/physical_location.h as
they are not needed.
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230324122711.2664537-5-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/physical_location.h')
-rw-r--r-- | drivers/base/physical_location.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/physical_location.h b/drivers/base/physical_location.h index 82cde9f1b161..3f3f61307998 100644 --- a/drivers/base/physical_location.h +++ b/drivers/base/physical_location.h @@ -8,7 +8,7 @@ #include <linux/device.h> #ifdef CONFIG_ACPI -extern bool dev_add_physical_location(struct device *dev); +bool dev_add_physical_location(struct device *dev); extern const struct attribute_group dev_attr_physical_location_group; #else static inline bool dev_add_physical_location(struct device *dev) { return false; }; |