summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max597x-regulator.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-07-11 11:40:11 +0800
committerMark Brown <broonie@kernel.org>2022-07-11 12:06:31 +0100
commit3fec90048d3757fa4cedb598ff93d1cae23860e4 (patch)
treebd412c1ae8cda1301994928076473b09bcccfd8a /drivers/regulator/max597x-regulator.c
parent79152fc74ff664e2912abe17f21c42d7c49c90c9 (diff)
downloadlinux-3fec90048d3757fa4cedb598ff93d1cae23860e4.tar.bz2
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. 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>
Diffstat (limited to 'drivers/regulator/max597x-regulator.c')
-rw-r--r--drivers/regulator/max597x-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max597x-regulator.c b/drivers/regulator/max597x-regulator.c
index f95acd1c5e3a..5e09aa4213be 100644
--- a/drivers/regulator/max597x-regulator.c
+++ b/drivers/regulator/max597x-regulator.c
@@ -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>