driver core: class.h: remove extern from function prototypes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Mar 2023 10:01:32 +0000 (11:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Mar 2023 14:34:24 +0000 (15:34 +0100)
commit43718dca48429b9eb5b82cdd41e2a1f162a02fb9
tree5bf766acb8ba848e3b0fcc07fd6be6d7147abe81
parentdcfbb67e48a2becfce7990386e985b9c45098ee5
driver core: class.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/class.h as they
are not needed.

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