pinctrl: rockchip: remove redundant check
From: Heiko Stuebner <heiko@...> Date: Sat, 5 Oct 2013 16:23:25 +0200
Commit-Message
The check limiting bias options to supported ones is already done thru rockchip_pinconf_pull_valid. Therefore this check is redundant and can be removed. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/pinctrl/pinctrl-rockchip.c | 6 ------ 1 file changed, 6 deletions(-)
Statistics
- 0 lines added
- 6 lines removed
Changes
---------------------- drivers/pinctrl/pinctrl-rockchip.c ----------------------
index efca116..91027dd 100644
@@ -424,12 +424,6 @@ static int rockchip_set_pull(struct rockchip_pin_bank *bank,
switch (ctrl->type) {
case RK2928:
ctrl->pull_calc_reg(bank, pin_num, ®, &bit);
spin_lock_irqsave(&bank->slock, flags);