Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932372AbbGHGbB (ORCPT ); Wed, 8 Jul 2015 02:31:01 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:32947 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754103AbbGHGau (ORCPT ); Wed, 8 Jul 2015 02:30:50 -0400 From: Nicolas Boichat To: Mark Brown Cc: Mauro Carvalho Chehab , Antti Palosaari , Ingo Molnar , Arjan van de Ven , Lars-Peter Clausen , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Bard Liao , Oder Chiou , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Anatol Pomozov , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Nicolas Boichat , linux-arm-kernel@lists.infradead.org, Zhang Rui , Eduardo Valentin , Lee Jones , Maxime Coquelin , Ajit Pal Singh , linux-pm@vger.kernel.org Subject: [PATCHv2 0/3] regmap: Use different lockdep class for each regmap init call Date: Wed, 8 Jul 2015 14:30:15 +0800 Message-Id: <1436337018-32464-1-git-send-email-drinkcat@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1472 Lines: 36 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/