OSDN Git Service

driver core: driver.h: remove extern from function prototypes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Mar 2023 12:27:08 +0000 (13:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Mar 2023 14:35:42 +0000 (15:35 +0100)
commit8a2b9c84c708cf2a99499d5a685a642af7b68c37
tree14c50128a6201e8aa4f6709aace438fb2fa5cff1
parent0d62b79fd8083ae2400f31e38f8d63db3bd59bff
driver core: driver.h: remove extern from function prototypes

The kernel coding style does not require 'extern' in function prototypes
in .h files, so remove them from include/linux/device/driver.h as they
are not needed.

Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230324122711.2664537-3-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device/driver.h