From b9990820a69dbe6b6ef9ffb327f4a63b35042dc3 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Thu, 14 Apr 2016 01:03:12 +0530 Subject: drivers: mfd: Allocate and register irq domain for codec interrupts During codec interrupt controller probe, allocate and register irq domain for codec interrupts for mapping between hwirq and irq numbers. Change-Id: I3e32043499f2b1e2616cf74864969815e626a23b Signed-off-by: Sudheer Papothi --- include/linux/mfd/wcd9xxx/core.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'include/linux') diff --git a/include/linux/mfd/wcd9xxx/core.h b/include/linux/mfd/wcd9xxx/core.h index eed0328b3f59..e0abd4285753 100755 --- a/include/linux/mfd/wcd9xxx/core.h +++ b/include/linux/mfd/wcd9xxx/core.h @@ -319,21 +319,12 @@ int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, struct wcd9xxx_reg_val *bulk_reg, unsigned int size, bool interface); -#if defined(CONFIG_WCD9310_CODEC) || \ - defined(CONFIG_WCD9304_CODEC) || \ - defined(CONFIG_WCD9320_CODEC) || \ - defined(CONFIG_WCD9330_CODEC) || \ - defined(CONFIG_WCD9335_CODEC) || \ - defined(CONFIG_WCD9306_CODEC) -int __init wcd9xxx_irq_of_init(struct device_node *node, - struct device_node *parent); -#else static inline int __init wcd9xxx_irq_of_init(struct device_node *node, struct device_node *parent) { return 0; } -#endif /* CONFIG_OF */ + static inline void wcd9xxx_reg_update(struct wcd9xxx *core, unsigned short reg, u8 mask, u8 val) -- cgit v1.2.3