From 051a58b4622f0e1b732acb750097c64bc00ddb93 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Thu, 6 Mar 2014 22:44:46 -0800 Subject: [PATCH] pinctrl: msm: Simplify msm_config_reg() and callers We don't need to check for a negative reg here because reg is always the same and is always non-negative. Also, collapse the switch statement down for the duplicate cases. Signed-off-by: Stephen Boyd Acked-by: Bjorn Andersson Signed-off-by: Linus Walleij --- Reading git-format-patch failed