diff options
author | André Draszik <andre.draszik@linaro.org> | 2025-04-09 21:37:26 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-05-23 08:48:19 +0100 |
commit | 271dc4fbede4274d0729eec10a33bd772df2837a (patch) | |
tree | 87032592b694007671c74d8249db6388aa14e663 | |
parent | b3379422b460ea8c0556df300d547d63e5569cda (diff) |
mfd: sec: Sort includes alphabetically
Sorting headers alphabetically helps locating duplicates, and makes it
easier to figure out where to insert new headers.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-5-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r-- | drivers/mfd/sec-core.c | 14 | ||||
-rw-r--r-- | drivers/mfd/sec-irq.c | 5 |
2 files changed, 9 insertions, 10 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index 3e9b65c988a7..e31b3a6fbc89 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -3,16 +3,10 @@ // Copyright (c) 2012 Samsung Electronics Co., Ltd // http://www.samsung.com -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/init.h> #include <linux/err.h> -#include <linux/slab.h> #include <linux/i2c.h> -#include <linux/of.h> +#include <linux/init.h> #include <linux/interrupt.h> -#include <linux/pm_runtime.h> -#include <linux/mutex.h> #include <linux/mfd/core.h> #include <linux/mfd/samsung/core.h> #include <linux/mfd/samsung/irq.h> @@ -23,7 +17,13 @@ #include <linux/mfd/samsung/s2mps15.h> #include <linux/mfd/samsung/s2mpu02.h> #include <linux/mfd/samsung/s5m8767.h> +#include <linux/module.h> +#include <linux/moduleparam.h> +#include <linux/mutex.h> +#include <linux/of.h> +#include <linux/pm_runtime.h> #include <linux/regmap.h> +#include <linux/slab.h> static const struct mfd_cell s5m8767_devs[] = { { .name = "s5m8767-pmic", }, diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c index 047fc065fcf1..5c0d949aa1a2 100644 --- a/drivers/mfd/sec-irq.c +++ b/drivers/mfd/sec-irq.c @@ -6,9 +6,6 @@ #include <linux/device.h> #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/module.h> -#include <linux/regmap.h> - #include <linux/mfd/samsung/core.h> #include <linux/mfd/samsung/irq.h> #include <linux/mfd/samsung/s2mps11.h> @@ -16,6 +13,8 @@ #include <linux/mfd/samsung/s2mpu02.h> #include <linux/mfd/samsung/s2mpu05.h> #include <linux/mfd/samsung/s5m8767.h> +#include <linux/module.h> +#include <linux/regmap.h> static const struct regmap_irq s2mps11_irqs[] = { [S2MPS11_IRQ_PWRONF] = { |