From: Stephen Warren Date: Wed, 23 May 2012 22:30:53 +0000 (-0600) Subject: regmap: clean up debugfs if regmap_init fails X-Git-Tag: v3.5-rc3~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfaa25f33425db16a942b7c71e396a47581c646d;p=pandora-kernel.git regmap: clean up debugfs if regmap_init fails If debugfs isn't cleaned up, stale files will be left in the filesystem which will cause an OOPS when accessed the first time, and hang the accessing application when accessed again, presumably due to some lock being left held. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed