diff options
author | Tony Lindgren <tony@atomide.com> | 2019-05-20 18:32:11 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-05-20 18:32:11 +0300 |
commit | f29f24b5568fd6169e0363c78f1a80db38d0e7e9 (patch) | |
tree | 835abaf6e1bb95b9d388f4249f355618e9da1489 /drivers/base/regmap/regmap-irq.c | |
parent | 1ba12322e2f0934383f111a5e695702aaf46b812 (diff) | |
parent | 34b1b8061de3215208db9accfe60cc3f5b40178f (diff) | |
download | linux-f29f24b5568fd6169e0363c78f1a80db38d0e7e9.tar.xz |
Merge branch 'fixes-dra7' into fixes
Diffstat (limited to 'drivers/base/regmap/regmap-irq.c')
-rw-r--r-- | drivers/base/regmap/regmap-irq.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 5059748afd4c..c9dc70ceca5f 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c @@ -1,14 +1,10 @@ -/* - * regmap based irq_chip - * - * Copyright 2011 Wolfson Microelectronics plc - * - * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ +// SPDX-License-Identifier: GPL-2.0 +// +// regmap based irq_chip +// +// Copyright 2011 Wolfson Microelectronics plc +// +// Author: Mark Brown <broonie@opensource.wolfsonmicro.com> #include <linux/device.h> #include <linux/export.h> @@ -761,9 +757,6 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, if (chip->num_type_reg && !chip->type_in_mask) { for (i = 0; i < chip->num_type_reg; ++i) { - if (!d->type_buf_def[i]) - continue; - reg = chip->type_base + (i * map->reg_stride * d->type_reg_stride); |