regulator: max597x: Remove unused including <linux/version.h>
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 11 Jul 2022 03:40:11 +0000 (11:40 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Jul 2022 11:06:31 +0000 (12:06 +0100)
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.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220711034011.46096-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max597x-regulator.c

index f95acd1..5e09aa4 100644 (file)
@@ -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>