[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1321904777-3077-1-git-send-email-broonie@opensource.wolfsonmicro.com>
Date: Mon, 21 Nov 2011 19:46:16 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: linux-kernel@...r.kernel.org
Cc: patches@...nsource.wolfsonmicro.com,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: [PATCH 1/2] regmap: Do debugfs init before cache init
This allows caches to add custom debugfs files.
Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
---
drivers/base/regmap/regmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 10ecbba3..a862090 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -241,12 +241,12 @@ struct regmap *regmap_init(struct device *dev,
goto err_map;
}
+ regmap_debugfs_init(map);
+
ret = regcache_init(map, config);
if (ret < 0)
goto err_free_workbuf;
- regmap_debugfs_init(map);
-
return map;
err_free_workbuf:
--
1.7.7.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists