Skip to content

Commit 271dc4f

Browse files
andredlag-linaro
authored andcommitted
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>
1 parent b337942 commit 271dc4f

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

drivers/mfd/sec-core.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@
33
// Copyright (c) 2012 Samsung Electronics Co., Ltd
44
// http://www.samsung.com
55

6-
#include <linux/module.h>
7-
#include <linux/moduleparam.h>
8-
#include <linux/init.h>
96
#include <linux/err.h>
10-
#include <linux/slab.h>
117
#include <linux/i2c.h>
12-
#include <linux/of.h>
8+
#include <linux/init.h>
139
#include <linux/interrupt.h>
14-
#include <linux/pm_runtime.h>
15-
#include <linux/mutex.h>
1610
#include <linux/mfd/core.h>
1711
#include <linux/mfd/samsung/core.h>
1812
#include <linux/mfd/samsung/irq.h>
@@ -23,7 +17,13 @@
2317
#include <linux/mfd/samsung/s2mps15.h>
2418
#include <linux/mfd/samsung/s2mpu02.h>
2519
#include <linux/mfd/samsung/s5m8767.h>
20+
#include <linux/module.h>
21+
#include <linux/moduleparam.h>
22+
#include <linux/mutex.h>
23+
#include <linux/of.h>
24+
#include <linux/pm_runtime.h>
2625
#include <linux/regmap.h>
26+
#include <linux/slab.h>
2727

2828
static const struct mfd_cell s5m8767_devs[] = {
2929
{ .name = "s5m8767-pmic", },

drivers/mfd/sec-irq.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
#include <linux/device.h>
77
#include <linux/interrupt.h>
88
#include <linux/irq.h>
9-
#include <linux/module.h>
10-
#include <linux/regmap.h>
11-
129
#include <linux/mfd/samsung/core.h>
1310
#include <linux/mfd/samsung/irq.h>
1411
#include <linux/mfd/samsung/s2mps11.h>
1512
#include <linux/mfd/samsung/s2mps14.h>
1613
#include <linux/mfd/samsung/s2mpu02.h>
1714
#include <linux/mfd/samsung/s2mpu05.h>
1815
#include <linux/mfd/samsung/s5m8767.h>
16+
#include <linux/module.h>
17+
#include <linux/regmap.h>
1918

2019
static const struct regmap_irq s2mps11_irqs[] = {
2120
[S2MPS11_IRQ_PWRONF] = {

0 commit comments

Comments
 (0)