From 9135d3bcec6c087fa2ef4fbde8b80ff8b27b34c7 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 17 Apr 2013 22:54:00 +0800 Subject: [PATCH] regulator: ab8500: Remove unused voltage_shift field from struct expand_register The voltage_shift field of struct expand_register is not used now, remove it. Signed-off-by: Axel Lin Acked-by: Bengt Jonsson Signed-off-by: Mark Brown --- drivers/regulator/ab8500.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 279793e26d94..ece31a33aa2e 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -89,7 +89,6 @@ struct ab8500_regulator_info { u8 voltage_bank; u8 voltage_reg; u8 voltage_mask; - u8 voltage_shift; } expand_register; }; @@ -1532,7 +1531,6 @@ static struct ab8500_regulator_info .voltage_bank = 0x04, .voltage_reg = 0x01, .voltage_mask = 0x10, - .voltage_shift = 1, } }, [AB8540_LDO_AUX4] = { -- 2.20.1