From: Lee Jones Date: Wed, 2 Jul 2014 10:22:10 +0000 (+0100) Subject: mfd: ab8500-debugfs: Simplify invalid debugfs data checking X-Git-Tag: omap-for-v3.17/fixes-against-rc2~129^2~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f27a26b477baf8e32848731e860618e5f48b58;p=pandora-kernel.git mfd: ab8500-debugfs: Simplify invalid debugfs data checking Noticed during a coding review, if we reorganised the checking a little, we can rid the code of a pointless 'else'. Whilst looking for this particular code hunk I noticed another pointless 'else', which I've subsequently fixed in this patch. Reviewed-by: Linus Walleij Signed-off-by: Lee Jones --- Reading git-diff-tree failed