driver core: class: move EXPORT_SYMBOL_GPL() lines to the correct place
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 14:41:17 +0000 (15:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 14:46:56 +0000 (15:46 +0100)
commit779aeb73d925586945b5dacab7453824766f149d
tree75795fe11f1c1e46684543c1df19d378ba8a0de2
parent17c45768fdf970b8a2ea9745783ff6a0512fca11
driver core: class: move EXPORT_SYMBOL_GPL() lines to the correct place

For some reason, the drivers/base/class.c file still had the "old style"
of exports, at the end of the file.  Move the exports to the proper
location, right after the function, to be correct.

Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230214144117.158956-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/class.c