soc: apple: rtkit: Export non-devm init/free functions
authorAsahi Lina <lina@asahilina.net>
Sat, 21 Jan 2023 07:41:35 +0000 (16:41 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 31 Jan 2023 11:40:14 +0000 (20:40 +0900)
commitb3892860f50920ea46342d32bf51323877365082
tree99cfe38a975e37bffe8394b683fa7313a569098d
parent4435d63f172851b57a6a0943b73a6b8055a9356f
soc: apple: rtkit: Export non-devm init/free functions

While we normally encourage devm usage by drivers, some consumers (and
in particular the upcoming Rust abstractions) might want to manually
manage memory. Export the raw functions to make this possible.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/soc/apple/rtkit.c
include/linux/soc/apple/rtkit.h