Skip to content

Commit 46f101d

Browse files
Sachin Kamatolofj
authored andcommitted
irqchip: irq-gic: Fix checkpatch errors
Fixes the following errors: ERROR: do not initialise statics to 0 or NULL ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 1a02bdf commit 46f101d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/irqchip/irq-gic.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static inline void gic_set_base_accessor(struct gic_chip_data *data,
127127
#else
128128
#define gic_data_dist_base(d) ((d)->dist_base.common_base)
129129
#define gic_data_cpu_base(d) ((d)->cpu_base.common_base)
130-
#define gic_set_base_accessor(d,f)
130+
#define gic_set_base_accessor(d, f)
131131
#endif
132132

133133
static inline void __iomem *gic_dist_base(struct irq_data *d)
@@ -807,7 +807,7 @@ void __cpuinit gic_secondary_init(unsigned int gic_nr)
807807
}
808808

809809
#ifdef CONFIG_OF
810-
static int gic_cnt __initdata = 0;
810+
static int gic_cnt __initdata;
811811

812812
int __init gic_of_init(struct device_node *node, struct device_node *parent)
813813
{

0 commit comments

Comments
 (0)