Skip to contentSkip to conversation

sound: soc: codecs: Remove unnecessary THIS_MODULE

PATCH In review Wang Qing 2 participants 3 messages Mar 13, 2021 – Mar 15, 2021

Subsystems (3)
lore
Share & tools
lore

Wang Qing

author
#0 lore raw

PATCH 1/1 sound: soc: codecs: Remove unnecessary THIS_MODULE

As THIS_MODULE has been set in module_platform_driver(), so remove it.

---
 sound/soc/codecs/lpass-rx-macro.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/lpass-rx-macro.c +0 -1
index c9c21d22..5b9d4e9
@@ -3585,7 +3585,6 @@ static const struct of_device_id rx_macro_dt_match[] = {
 static struct platform_driver rx_macro_driver = {
 	.driver = {
 		.name = "rx_macro",
-		.owner = THIS_MODULE,
 		.of_match_table = rx_macro_dt_match,
 		.suppress_bind_attrs = true,
 	},
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 1 line · Wang Qing

As THIS_MODULE has been set in module_platform_driver(), so remove it.

Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.

maintainer
#2 lore raw
In reply to Wang Qing
Quoted 1 line · Wang Qing

As THIS_MODULE has been set in module_platform_driver(), so remove it.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] sound: soc: codecs: Remove unnecessary THIS_MODULE

      commit: a5e78cfbd50e33c19236f32693516380d1a61c34

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark