diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-23 18:56:33 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-08-07 17:25:19 +0300 |
commit | 179e5a6114cc80d8254f524d7bf7b94523b89faf (patch) | |
tree | 64597c4219032160756e5952743b6d52ea694600 /drivers/pinctrl/intel/pinctrl-intel.c | |
parent | 3b1e9188df9ca794b089090de22d7cfc23732dc5 (diff) | |
download | linux-stable-179e5a6114cc80d8254f524d7bf7b94523b89faf.tar.gz linux-stable-179e5a6114cc80d8254f524d7bf7b94523b89faf.tar.bz2 linux-stable-179e5a6114cc80d8254f524d7bf7b94523b89faf.zip |
pinctrl: intel: Remove default Interrupt Status offset
Since some of the GPIO controllers use different Interrupt Status offset,
it make sense to provide it explicitly in the drivers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-intel.c')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-intel.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c index 913c5dae773c..5c7348caac36 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.c +++ b/drivers/pinctrl/intel/pinctrl-intel.c @@ -29,7 +29,6 @@ #define REVID_MASK GENMASK(31, 16) #define PADBAR 0x00c -#define GPI_IS 0x100 #define PADOWN_BITS 4 #define PADOWN_SHIFT(p) ((p) % 8 * PADOWN_BITS) @@ -1342,9 +1341,6 @@ static int intel_pinctrl_probe(struct platform_device *pdev, community->regs = regs; community->pad_regs = regs + padbar; - if (!community->is_offset) - community->is_offset = GPI_IS; - ret = intel_pinctrl_add_padgroups(pctrl, community); if (ret) return ret; |