[PATCHv2 0/3] regmap: Use different lockdep class for each regmap init call

From: Nicolas Boichat
Date: Wed Jul 08 2015 - 02:31:09 EST


Second version. Small fixup in the regmap patch itself [3/3] (the
declaration of __devm_regmap_init_ac97 was missing lock_key/name
parameters).

Also, there are 2 drivers that are using function pointers named
"regmap_init", which causes problems as it is now a macro: put these
in parentheses to prevent the preprocessor from substituting them.

Patches 1+2 should be pushed first to avoid breaking git bissect.

Compile tested with allyesconfig on x86_64 and arm.

Nicolas Boichat (3):
mfd: vexpress: Add parentheses around bridge->ops->regmap_init call
thermal: sti: Add parentheses around bridge->ops->regmap_init call
regmap: Use different lockdep class for each regmap init call

drivers/base/regmap/regmap-ac97.c | 22 +++--
drivers/base/regmap/regmap-i2c.c | 22 +++--
drivers/base/regmap/regmap-mmio.c | 27 ++++--
drivers/base/regmap/regmap-spi.c | 22 +++--
drivers/base/regmap/regmap-spmi.c | 44 +++++----
drivers/base/regmap/regmap.c | 31 +++---
drivers/bus/vexpress-config.c | 2 +-
drivers/thermal/st/st_thermal.c | 2 +-
include/linux/regmap.h | 192 ++++++++++++++++++++++++++++----------
9 files changed, 252 insertions(+), 112 deletions(-)

--
2.4.3.573.g4eafbef

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/