2023-07-18 00:54:25

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] regulator: Remove duplicated include in mt6359-regulator.c

./drivers/regulator/mt6359-regulator.c: linux/platform_device.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5901
Signed-off-by: Yang Li <[email protected]>
---
drivers/regulator/mt6359-regulator.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/mt6359-regulator.c b/drivers/regulator/mt6359-regulator.c
index 5cf6448fb05f..c8a788858824 100644
--- a/drivers/regulator/mt6359-regulator.c
+++ b/drivers/regulator/mt6359-regulator.c
@@ -2,7 +2,6 @@
//
// Copyright (c) 2021 MediaTek Inc.

-#include <linux/platform_device.h>
#include <linux/platform_device.h>
#include <linux/mfd/mt6359/registers.h>
#include <linux/mfd/mt6359p/registers.h>
--
2.20.1.7.g153144c



2023-07-19 13:23:00

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH -next] regulator: Remove duplicated include in mt6359-regulator.c

On Tue, 18 Jul 2023 08:32:55 +0800, Yang Li wrote:
> ./drivers/regulator/mt6359-regulator.c: linux/platform_device.h is included more than once.
>
>

Applied to

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

Thanks!

[1/1] regulator: Remove duplicated include in mt6359-regulator.c
commit: 6023fffc3e276d1ab0d1262ea9be3b720325fede

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