Skip to contentSkip to conversation

regulator: max597x: Remove unused including <linux/version.h>

PATCH In review Jiapeng Chong 2 participants 2 messages Jul 11, 2022 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: max597x: Remove unused including <linux/version.h>

The patch makes sense but these are not compile warnings. They come from scripts/checkversion.pl, which can be called by 'make versioncheck', so I suppose that something in your build system is running 'make versioncheck'.

Eliminate the follow versioncheck warning:

./drivers/regulator/max597x-regulator.c: 21 linux/version.h not needed.

---
 drivers/regulator/max597x-regulator.c | 1 -
 1 file changed, 1 deletion(-)
drivers/regulator/max597x-regulator.c +0 -1
index f95acd1c5e3a..5e09aa4213be 100644
@@ -18,7 +18,6 @@
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/of_regulator.h>
-#include <linux/version.h>
 #include <linux/platform_device.h>
 
 #include <linux/mfd/max597x.h>
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 8 lines · Jiapeng Chong

The patch makes sense but these are not compile warnings. They come from scripts/checkversion.pl, which can be called by 'make versioncheck', so I suppose that something in your build system is running 'make versioncheck'.

Eliminate the follow versioncheck warning:

[...]

Applied to

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

Thanks!

[1/1] regulator: max597x: Remove unused including <linux/version.h>

      commit: 3fec90048d3757fa4cedb598ff93d1cae23860e4

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